You are not logged in.

#1 2015-08-03 14:40:36

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Springlinux ISO uploaded for testing

Added Springlinux folder too archbang source forge page, you can check out our systemd free version of archbang. All you know and love in archbang is still present.

Was really disappointed at having too drop void as base for project, felt I let a lot of users down.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

#2 2015-08-04 07:41:57

replabrobin
Member
Registered: 2011-11-06
Posts: 86

Re: Springlinux ISO uploaded for testing

Tried this today. Seems fine except for the residual systemd stuff in the installer eg vconsole setup, localctl etc etc. For runit style these probably need to work into the rc.conf. I need to update the arch-runit package to make those rc files backup.

Tried pacman -Syyu and that fails with problems related to arch-assault. removed arch-assault from pacman.conf and pacman -Syyu seemed to work, but I ended up with systemctl in charge of the system so could not shutdown etc etc.

Should have tried runit-halt, but instead did an aur install of arch-runsvdir-init which has multiple shutdown check. It installed OK and the reboot command knew to do the 'right' thing and shut down with the runit stuff. For whatever reason that mechanism fails to cleanly shutdown and the filesystems aren't clean on the reboot. However, all well with runsvdir+fsck & it booted OK and reboots fine now.

The lxdm menu items for shutdown/reboot don't seem to work. Sudo poweroff works from the command line, but I don't get asked for a password when selecting exit.Shutdown in openbox.

Great work.

Offline

#3 2015-08-04 10:46:08

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Re: Springlinux ISO uploaded for testing

Ok I need to get arch keys set up, could run via rc.local (there is a script too set up keys called 'arch-keys'). Will check pacman.conf (might need to remove archassualt repo for now). Was concerned that setting up keys would slow down booting of system. Not sure if a service script would do the job. Having haveged running simply for pacman-keys seems extreme.....

Power issues are more down too needing sudo rights, could add commands too sudoers file at some point.

Do know that installer needs work....

Thanks for testing wink


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

#4 2015-08-04 11:51:09

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Re: Springlinux ISO uploaded for testing

Looking at installer i have the following

grep "ctl" springinstall 
    local keymaps=(`localectl list-keymaps`)
    local zone=(`timedatectl list-timezones | sed 's/\/.*$//' | uniq`);
        local subzone=(`timedatectl list-timezones | grep ${ZONE} | sed 's/^.*\///'`)
# We could simply edit mirrorlist directly rather than had hold user
  arch_chroot  "/usr/bin/systemctl -f disable lastmin.service || true"
#  arch_chroot  "/usr/bin/systemctl -f disable multi-user.target || true"
#  arch_chroot  "/usr/bin/systemctl -f disable pacman-init.service || true"

Have removed systemctl already, so leaves keymaps and zones


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

#5 2015-08-04 12:26:31

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Re: Springlinux ISO uploaded for testing

Search for lxdm issue found this

https://bbs.archlinux.org/viewtopic.php?id=142412


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

#6 2015-08-04 14:08:03

replabrobin
Member
Registered: 2011-11-06
Posts: 86

Re: Springlinux ISO uploaded for testing

localectl & timedatectl are part of systemd; they have analogues in rc.conf.

Last edited by replabrobin (2015-08-04 14:08:32)

Offline

#7 2015-08-05 00:02:39

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Re: Springlinux ISO uploaded for testing

Could for now drop font,keymap and timezone from installer and simply run with a default rc.conf.

Do you think there would be any mileage in forking void-runit and making it more arch specific?


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

#8 2015-08-05 01:33:15

replabrobin
Member
Registered: 2011-11-06
Posts: 86

Re: Springlinux ISO uploaded for testing

I used a small piece of bash like this to modify the default rc.conf

if [ -r /etc/rc.conf ]; then
	sed -i -e'/^#HOSTNAME=/s/^.*$/HOSTNAME='"$myhostname"'/
/^#HARDWARECLOCK=/s/^.*$/HARDWARECLOCK='UTC'/
/^#TIMEZONE=/s[^.*$[TIMEZONE='"$mytimezone"'[
/^#KEYMAP=/s[^.*$[KEYMAP='"$mykeyboard"'[
/^#FONT=/s[^.*$[FONT=lat9w-16[' /etc/rc.conf
else
	(
	echo "HOSTNAME='$myhostname'"
	echo "HARDWARECLOCK='UTC'"
	echo "TIMEZONE='$mytimezone"
	echo "KEYMAP='$mykeyboard'"
	echo "FONT='lat9w-16'"
	) > /etc/rc.conf
fi

you can either set up the variables or use the var names from the installer code or use fixed values. In practice the file will be something more like /mnt/sda1/etc/rc.conf or wherever the installer mounts the hard disk.

Last edited by replabrobin (2015-08-05 01:35:31)

Offline

#9 2015-08-05 01:46:36

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,896

Re: Springlinux ISO uploaded for testing

Have added voids default rc.conf (modified too suit ArchBang/Springlinux settings. At some point I could adapt installer too edit rc.conf based on user settings. For now I just want to remove any *ctl commands.

Installer mounts too /mnt/install, so would be /mnt/install/etc/rc.conf

Personally would prefer too allow user too edit rc.conf (installed) after all they are going to have to open a terminal at some point wink


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artix-linux.github.io/migrate/

Offline

Board footer

Powered by FluxBB