Remastering SolydXK [adapted: 22 July 2015]

Post your tutorials and howtos here.
User avatar
escolar
Posts: 122
Joined: 23 Aug 2013 08:14
Location: Spain

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby escolar » 09 Jan 2015 12:01

I can't say much about those custom packages, or if they were built according to Debian specs.
Before you build an ISO, a cleanup script is executed: /usr/lib/solydxk/constructor/cleanup.sh
This script probably recognizes those scripts as unneeded/unreferenced.
[/quote]

Thanks. Commenting the line

Code: Select all

apt-get purge -y --force-yes $(env LANG=C bash -c "apt-show-versions | grep 'available' | cut -d':' -f1")
in /usr/lib/solydxk/constructor/cleanup.sh removed the problem.

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 09 Jan 2015 12:13

Ah yes, that removes any packages that are no longer available in the repositories. That keeps my ISOs nice and tidy, but in your case it's not really handy.


SolydXK needs you!
Development | Testing | Translations

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 13 Jan 2015 09:05

I just unpacked the latest nightly build ISOs to my build setup, using the latest version of the Constructor, and noticed the two 32 bit builds had gone missing from the listing. So I decided to add them again, making sure the option 'Create from ISO' was unset. It then started to overwrite the K32 structure with files from the last ISO (X64) it had unpacked previously!

WTF?!

I am not amused. :evil:

Apparently the fact that the ISO field disappears from the window when you unset the option doesn't mean the last ISO that was unpacked also disappears from the Constructors innards.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 13 Jan 2015 09:23

I don't know what happened, but I never had that problem before.
The constructor was made for personal use. Just to make my life a bit easier. It is far from perfect and I even have to adjust manually with every ISO I make.
I'll try to figure out what happened and update the constructor when I can.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 13 Jan 2015 10:54

I've uploaded an updated version of the constructor.

Github updated: https://github.com/SolydXK/solydxk-constructor


SolydXK needs you!
Development | Testing | Translations

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 13 Jan 2015 11:51

Thanks.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 16 Jan 2015 16:01

In preparation of the next 32 bit release(s), I've been looking at the contents of the 'boot' directory in the ISO build structures. Next to boot, efi, isolinux, live and offline, there's a .disk directory with some very old files. What's this about exactly? Is it still functional? If so, shouldn't the files in there be updated? A Google search didn't produce anything useful.

Just curious...
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 17 Jan 2015 17:33

Apparently the stuff in boot/.disk has to do with the installer, so I'll update the outdated files (boot/.disk/archive_trace and boot/.disk/info) from now on.

Arjen, you might want to do the same for the 64-bit versions.

Another oddity I noticed in the 64-bit ISOs (nightly's), is the boot/offine directories don't contain efibootmgr, grub-efi-amd64-bin and libefivar0. The corresponding files are still in the list for the 32-bit versions in the first posting of this thread, so I assume they should be there...
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 18 Jan 2015 08:11

grizzler wrote:Apparently the stuff in boot/.disk has to do with the installer, so I'll update the outdated files (boot/.disk/archive_trace and boot/.disk/info) from now on.

Arjen, you might want to do the same for the 64-bit versions.
I'll take a look at it.
grizzler wrote:Another oddity I noticed in the 64-bit ISOs (nightly's), is the boot/offine directories don't contain efibootmgr, grub-efi-amd64-bin and libefivar0. The corresponding files are still in the list for the 32-bit versions in the first posting of this thread, so I assume they should be there...
It's because the other packages are already installed as dependencies of solydxk-usb-creator. This makes it possible to create EFI bootable USB pendrives even when you're not running on an EFI system. I couldn't find any negative outcome for non-EFI systems with these packages installed, but if you find any, please let me know.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 19 Jan 2015 13:22

It seems that I can leave out the .disk directory altogether.
I've built two ISOs without it and tested it live on an EFI and a non-EFI system and found no issues.


SolydXK needs you!
Development | Testing | Translations

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 19 Jan 2015 13:33

It's a Debian thing. I saw some bug reports mentioning problems with the Debian installer if certain files from that directory were missing or malformed (didn't bookmark them - sorry). If our installer doesn't get confused, fine. The more redundant stuff we can remove, the better.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
jsvenancio
Posts: 178
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby jsvenancio » 23 Jan 2015 11:48

Good day.
If you install solydxk-constructor in my SolydX / 32bit, I can do that kind of updates in the .ISO SolydX ??

Is it possible acresentar some applications and remove other, so that when you use this .ISO to install SolydX you have applications that use daily?

Can I leave the pre-configured desktop to my liking?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 23 Jan 2015 12:29

You can certainly add/remove applications to the build structure so they will/will not be part of the install by default.

Getting the full configuration of an existing desktop across may be a bit of work, though. When you install an ISO, the installer doesn't use the home directory of the user of the host machine when the ISO was created, but a set of defaults (the one in /etc/skel, if I'm not mistaken). You would have to change those too (in the build structure, that is, not the ones on your installed system). At this point I have no idea if any defaults are taken from other locations (investigating this is one of the many things on my to do list and so is adding easy manipulation of all that to my solydfixes script...).

Edit
Interesting observation/side note: there's something wrong with the /etc/skel/.local/share/applications directory in the SolydX ISOs. It contains a desktop file for the Softwaremanager which will not work because it calls 'softwaremanager' instead of 'solydxk-softwaremanager'. Will have to fix that. You reading this, Arjen?

Actually, there's more amiss with that directory, because the symlink called defaults.list keeps causing xdg-open to throw a fit because it points to a file (mimeapps.list) which is incorrectly formatted for a file called defaults.list (yes, figuring that one out was on my to do list as well...)
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby Arjen Balfoort » 23 Jan 2015 18:54

I'm totally confused by defaults.list and never understood the purpose of it (if there's a mimeapps.list).

There's also a defaults.list in /etc/skel/.config/applications
What is the correct place for that file if it really is needed (is mimeapss.list not enough)?

I'll replace the softwaremanager.desktop file in the new solydx-system-adjustments package.


SolydXK needs you!
Development | Testing | Translations

User avatar
grizzler
Posts: 2044
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby grizzler » 23 Jan 2015 20:14

The freedesktop.org docs only specify a file called mimeapps.list. The default location for that is /usr/share/applications, /usr/local/share/applications and/or ~/.local/share/applications (which appears to be deprecated in favour of ~/.config now... ). Some desktops use a defaults.list file in a different location (GNOME: /etc/gnome), but my own SolydX system has been running fine with just the mimeapps.list in ~/.local/share/applications, a smaller one (which didn't show up until recently :?) in ~/.config and no defaults.list anywhere.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
MAYBL8
Posts: 1487
Joined: 10 Mar 2013 18:41
Location: Maryland Heights, MO USA
Contact:

Re: Remastering SolydXK [rewritten: 01 Dec 2014]

Postby MAYBL8 » 10 Apr 2015 15:56

Messing with the Constructor today.
Downloaded the latest iso for Solydk
Unpacked it.
Went to run the upgrade on it and this is as far as it got:

Code: Select all

Command to execute: umount --force '/home/danc/Downloads/Isos/root/proc/'
umount: /home/danc/Downloads/Isos/root/proc/: not mounted
Command to execute: umount -l '/home/danc/Downloads/Isos/root/proc/'
umount: /home/danc/Downloads/Isos/root/proc/: not mounted
Command to execute: mount --bind /proc '/home/danc/Downloads/Isos/root/proc/'
Command to execute: mount --bind /dev '/home/danc/Downloads/Isos/root/dev/'
Command to execute: mount --bind /dev/pts '/home/danc/Downloads/Isos/root/dev/pts/'
Command to execute: chmod a+x /tmp/constructor-terminal.sh
Command to execute: which x-terminal-emulator
/usr/bin/x-terminal-emulator
Command to execute: export HOME=/root ; xterm -bg black -fg white -rightbar -title "solydk64" -e /tmp/constructor-terminal.sh
Command to execute: umount --force '/home/danc/Downloads/Isos/root/dev/pts/'
Command to execute: umount -l '/home/danc/Downloads/Isos/root/dev/pts/'
umount: /home/danc/Downloads/Isos/root/dev/pts/: not mounted
Command to execute: umount --force '/home/danc/Downloads/Isos/root/dev/'
Command to execute: umount -l '/home/danc/Downloads/Isos/root/dev/'
umount: /home/danc/Downloads/Isos/root/dev/: not mounted
Command to execute: umount --force '/home/danc/Downloads/Isos/root/proc/'
Command to execute: umount -l '/home/danc/Downloads/Isos/root/proc/'
umount: /home/danc/Downloads/Isos/root/proc/: not mounted
/home/danc/Downloads/Isos/root/offline exists
>> Remove /home/danc/Downloads/Isos/root/../boot/offline
>> Move /home/danc/Downloads/Isos/root/offline to /home/danc/Downloads/Isos/root/../boot/offline
Command to execute: /usr/bin/aplay '/usr/lib/solydxk/constructor/../../../share/solydxk/constructor/done.wav'


User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK [adapted: 22 July 2015]

Postby Arjen Balfoort » 22 Jul 2015 14:43

OP adapted for the new SolydXK Constructor: http://forums.solydxk.nl/viewtopic.php?f=78&t=5747


SolydXK needs you!
Development | Testing | Translations

User avatar
lufilte
Posts: 80
Joined: 06 Dec 2013 15:07
Location: Parede, Cascais, Portugal
Contact:

Remastering SolydXK localized

Postby lufilte » 26 May 2016 15:56

I did make yesterday a localizaed remastering of SolydK 2016-05 in Portuguese European
today i will make for the SolyX 2016-05 Also in Portuguese European

here is the link
https://mega.nz/#F!nFxFkarC

Translator|Testing
Escolhi ser livre por isso uso Linux!

User avatar
Arjen Balfoort
Site Admin
Posts: 8860
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK localized

Postby Arjen Balfoort » 27 May 2016 09:25

lufilte wrote:I did make yesterday a localizaed remastering of SolydK 2016-05 in Portuguese European
today i will make for the SolyX 2016-05 Also in Portuguese European
That's great! Does this mean you are volunteering to maintain those Portuguese versions? If so, I can create an FTP account for you to upload the ISOs to our server.
lufilte wrote:here is the link
https://mega.nz/#F!nFxFkarC
Unfortunately, you'll need a decryption key to download.


SolydXK needs you!
Development | Testing | Translations

User avatar
lufilte
Posts: 80
Joined: 06 Dec 2013 15:07
Location: Parede, Cascais, Portugal
Contact:

Re: Remastering SolydXK localized

Postby lufilte » 27 May 2016 09:41

Schoelje wrote:
lufilte wrote:I did make yesterday a localizaed remastering of SolydK 2016-05 in Portuguese European
today i will make for the SolyX 2016-05 Also in Portuguese European
That's great! Does this mean you are volunteering to maintain those Portuguese versions? If so, I can create an FTP account for you to upload the ISOs to our server.[/quote wrote:
For now i've some time free, yes i can do it, it seems my connection is fast enough to upload, but i still studding how works the tool.
lufilte wrote:here is the link
https://mega.nz/#F!nFxFkarC
Unfortunately, you'll need a decryption key to download.[/quote wrote: yes it's true i did finger out that but the time i was correcting the pc has breack when i start using chromium too. i've become to have breack system with Chrome and Chromium Browsers with SolydK, but not with SolydX.

so here is the correct Link:
https://mega.nz/#F!nFxFkarC!L9h_OyLBUPbgWgXyAOb7HA

Translator|Testing
Escolhi ser livre por isso uso Linux!


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest