SliTaz SliTaz Forum

You are not logged in.

#1 2014-11-26 20:57:41

emgi
Member
Registered: 2012-12-17
Posts: 127

Updates to slitaz-arm

After installing the updates to slitaz-arm I noticed some changed behavior:

-The console cannot be logged out. Upon pressing <CTRL>D it says:

Please press Enter to activate this console.

Directly after booting it is the same. Quite convenient but I don't want it regardless.

I have not yet managed to find where this comes from but the unpatched version did not do this.

Instead it acted "normal" i.e. you were asked for a password.

-After installing one of the slitaz- scripts, I am missing the system.sh file from /etc/init.d

/emgi

Offline

#2 2014-11-26 21:02:49

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Updates to slitaz-arm

Try installing slitaz-arm-configs as it owns system.sh

Offline

#3 2014-11-27 09:57:43

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm

Meanwhile I'm getting experienced in kicking this into life.

The spk in the original version is broken in such way that you cannot upgrade it independently through spk. The only way it does work is via spk-up but this requires all files to be in the cache already while downloading them via spk doesn't work. So this needs to be done upfront.

I created a kickstart-script to help out:

[c]<br />
cd /var/cache/tazpkg/<br />
wget cook.slitaz.org/cross/arm/packages/busybox-1.22.1-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/dialog-1.1-20110707-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/dropbear-2014.65-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/gcc-lib-base-4.6.3-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/glibc-base-2.13-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/libcrypto-1.0.1h-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/liblzma-5.0.5-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/libssl-1.0.1h-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/ncurses-common-5.9-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/slitaz-base-files-5.6.3-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/slitaz-boot-scripts-5.6.5-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/slitaz-configs-base-5.5.7-arm.tazpkg<br />
wget cook.slitaz.org/cross/arm/packages/spk-1.4.2-arm.tazpkg<br />[/c]
This gets the files in cache and saves a lot of typing, especially if you have to do it more than once!

After this, I made a backup of the config files (/etc/rcS.conf, rcS and *.sh from /etc/init.d/ )

That is sufficient to run spk-up. I noticed failures while running all three slitaz- updates, mostly failure to remove old files.

Then before rebooting, I restored the config files and I'm able to boot back into a working system. As mentioned already, it is no longer possible to log off properly. Instead you get the message: Please press Enter to activate this console.

SSH works after entering /etc/init.d/dropbear start

This also generates new keys.

Minor tweaks:

cat "CET" > /etc/TZ

mkswap /dev/sda2

I also updated /etc/fstab to reflect the correct device names for qemu but that is obviously only required if you ARE running that.

/emgi

Offline

#4 2014-11-27 10:55:13

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm

Just done a little bit of research on this:

We may be missing /etc/inittab as well after the upgrades.

At least I can state it is not there anymore but I don't know if it was before spk-up.

/emgi

EDIT: Yes it was! I copied my /etc/inittab from slitaz4 and it works again as normal.

Offline

#5 2014-11-27 17:25:20

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm

Missing files after spk-upgrade (continued)

Just found even more files have gone missing during or after running spk-up.

I noticed the problem because the clock was not adjusting even though TZ was set correctly.

All files in /usr/share/zoneinfo are also gone except UTC and two (now empty) directories.

Considering the other files that went missing, I cannot think of another cause for this.

Yes, I also checked that the original image does have them.

/emgi

Offline

#6 2014-11-27 21:15:39

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Updates to slitaz-arm

New package slitaz-arm-configs-1.1.0-arm.tazpkg should be on the upgrade list owns the following files:

/etc/xdg/jwm/system.jwmrc

/etc/xdg/jwm/menus.jwmrc

/etc/xdg/openbox/environment

/etc/xdg/openbox/autostart

/etc/xdg/openbox/rc.xml

/etc/xdg/openbox/menu.xml

/etc/init.d/post-install.sh

/etc/init.d/shutdown.sh

/etc/init.d/rcS

/etc/init.d/system.sh

/etc/rcS.conf

/etc/inittab

/etc/slitaz/applications.conf

/usr/share/images/slitaz-arm-background.png

/usr/share/pixmaps/file-manager.png

/usr/bin/slitaz-arm

/var/lib/dpkg/status

This commit stripped out the timezone files from glibc-base by removing from arm-files.list

There are no locale-*-arm tazpkgs so there is no way to install the timezone files the user requires.

glibc-base: add more default locales (see glibc' gconv); remove timezone files (now in locale-* packages).

http://hg.slitaz.org/wok/rev/b9885dbe58a3

http://hg.slitaz.org/wok/file/b9885dbe58a3/glibc-base/stuff/arm-files.list

Offline

#7 2014-11-28 09:23:29

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm

Just did another spk-up and it's looking much better now. Thnx Mojo!

Probably it will be a good idea to incorporate these fixes into the base image which is available for download?

BTW: I did most of the testing on Qemu.

For many people it's a plus to be able to run virtual so this may very well encourage people to download & test.

I'm willing to document my setup on the wiki so that it can easily be reproduced.

One small detail: Cannot edit in the /arm section.

/emgi

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]