diff options
author | David P <megver83@parabola.nu> | 2018-05-16 21:08:49 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-05-16 21:27:46 -0400 |
commit | 765756ae126d57735c22d59a7c1242f01443921e (patch) | |
tree | c5d5f3e7979f5a0098e7294d1e8dbae3aa71c562 /configs/lxde-openrc | |
parent | ff5f93347993bfdb6c58746baee006dbad7a3dd8 (diff) |
modify entire source according to archiso32
and remove unused configs/talkingparabola-X11
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/lxde-openrc')
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/X11/Xwrapper.config | 1 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/conf.d/agetty.tty1 | 3 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/conf.d/hostname | 1 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/fstab (renamed from configs/lxde-openrc/root-image/etc/fstab) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/etc/init.d/pacman-init (renamed from configs/lxde-openrc/root-image/etc/init.d/pacman-init) | 17 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/locale.conf (renamed from configs/lxde-openrc/root-image/etc/locale.conf) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/motd (renamed from configs/lxde-openrc/root-image/etc/motd) | 10 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/pam.d/su (renamed from configs/lxde-openrc/root-image/etc/pam.d/su) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/skel/.config/lxsession/LXDE/desktop.conf (renamed from configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf (renamed from configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/sudoers.d/g_wheel (renamed from configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/etc/wallpaper.png (renamed from configs/lxde-openrc/root-image/etc/wallpaper.png) | bin | 159460 -> 159460 bytes | |||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.automated_script.sh (renamed from configs/lxde-openrc/root-image/root/.automated_script.sh) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.codecheck (renamed from configs/lxde-openrc/root-image/root/.codecheck) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.config/dconf/user (renamed from configs/lxde-openrc/root-image/root/.config/dconf/user) | bin | 6616 -> 6616 bytes | |||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.config/gtk-2.0/gtkfilechooser.ini (renamed from configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.config/lxsession/LXDE/autostart (renamed from configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.config/volumeicon/volumeicon (renamed from configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.keymap.sh (renamed from configs/lxde-openrc/root-image/root/.keymap.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.language.sh (renamed from configs/lxde-openrc/root-image/root/.language.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/install.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/systemConfig.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/userAccount.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/install.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/systemConfig.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/install.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/systemConfig.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/userAccount.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/install.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/systemConfig.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.scriptsInstallation/parabolaicon.png (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png) | bin | 857 -> 857 bytes | |||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.scriptsInstallation/x11.sh (renamed from configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.themes/Parabola/index.theme (renamed from configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.xinitrc (renamed from configs/lxde-openrc/root-image/root/.xinitrc) | 0 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/.zlogin (renamed from configs/lxde-openrc/root-image/root/.zlogin) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/Desktop/Parabola Installation CLI.desktop (renamed from configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop) | 0 | ||||
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/customize_airootfs.sh | 48 | ||||
-rw-r--r-- | configs/lxde-openrc/airootfs/root/install.txt | 2 | ||||
-rw-r--r-- | configs/lxde-openrc/aitab | 3 | ||||
-rwxr-xr-x | configs/lxde-openrc/build.sh | 152 | ||||
-rw-r--r-- | configs/lxde-openrc/mkinitcpio.conf | 2 | ||||
-rw-r--r-- | configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 | 11 | ||||
-rw-r--r-- | configs/lxde-openrc/root-image/etc/conf.d/hostname | 2 | ||||
-rw-r--r-- | configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules | 1 | ||||
-rw-r--r-- | configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf | 48 | ||||
-rw-r--r-- | configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf | 14 | ||||
-rwxr-xr-x | configs/lxde-openrc/root-image/root/customize_root_image.sh | 42 |
49 files changed, 158 insertions, 199 deletions
diff --git a/configs/lxde-openrc/airootfs/etc/X11/Xwrapper.config b/configs/lxde-openrc/airootfs/etc/X11/Xwrapper.config new file mode 100644 index 0000000..017105e --- /dev/null +++ b/configs/lxde-openrc/airootfs/etc/X11/Xwrapper.config @@ -0,0 +1 @@ +needs_root_rights = yes diff --git a/configs/lxde-openrc/airootfs/etc/conf.d/agetty.tty1 b/configs/lxde-openrc/airootfs/etc/conf.d/agetty.tty1 new file mode 100644 index 0000000..997909c --- /dev/null +++ b/configs/lxde-openrc/airootfs/etc/conf.d/agetty.tty1 @@ -0,0 +1,3 @@ +baud="38400" +term_type="linux" +agetty_options="--autologin root --noclear" diff --git a/configs/lxde-openrc/airootfs/etc/conf.d/hostname b/configs/lxde-openrc/airootfs/etc/conf.d/hostname new file mode 100644 index 0000000..5a912cd --- /dev/null +++ b/configs/lxde-openrc/airootfs/etc/conf.d/hostname @@ -0,0 +1 @@ +hostname="parabolaiso" diff --git a/configs/lxde-openrc/root-image/etc/fstab b/configs/lxde-openrc/airootfs/etc/fstab index e69de29..e69de29 100644 --- a/configs/lxde-openrc/root-image/etc/fstab +++ b/configs/lxde-openrc/airootfs/etc/fstab diff --git a/configs/lxde-openrc/root-image/etc/init.d/pacman-init b/configs/lxde-openrc/airootfs/etc/init.d/pacman-init index b610683..b646e52 100755 --- a/configs/lxde-openrc/root-image/etc/init.d/pacman-init +++ b/configs/lxde-openrc/airootfs/etc/init.d/pacman-init @@ -1,5 +1,5 @@ #!/usr/bin/openrc-run -# Copyright (C) 2017 Parabola Project +# Copyright (C) 2018 Parabola Project # Copyright (C) Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -12,20 +12,19 @@ depend() { start() { # Check that there's no keyring, if there isn't, create one - # in the background for a faster boot if [ ! -d /etc/pacman.d/gnupg ]; then - ebegin "Starting Pacman keyring" - pacman-key --init &> /dev/null && - pacman-key --populate archlinux parabola &> /dev/null + ebegin "Initializing Pacman keyring" + pacman-key --init &> /dev/null && + pacman-key --populate ${KEYS} &> /dev/null else - ebegin "Pacman keyring already started" + ebegin "Pacman keyring already started" fi } - + stop() { # If there's a keyring, delete it if [ -d /etc/pacman.d/gnupg ]; then - ebegin "Stoping Pacman keyring" - rm -rf /etc/pacman.d/gnupg + ebegin "Stoping Pacman keyring" + rm -rf /etc/pacman.d/gnupg fi } diff --git a/configs/lxde-openrc/root-image/etc/locale.conf b/configs/lxde-openrc/airootfs/etc/locale.conf index 01ec548..01ec548 100644 --- a/configs/lxde-openrc/root-image/etc/locale.conf +++ b/configs/lxde-openrc/airootfs/etc/locale.conf diff --git a/configs/lxde-openrc/root-image/etc/motd b/configs/lxde-openrc/airootfs/etc/motd index e4ff560..6742f6f 100644 --- a/configs/lxde-openrc/root-image/etc/motd +++ b/configs/lxde-openrc/airootfs/etc/motd @@ -1,13 +1,17 @@ [01;34m=============================================================================== - [01;36mParabola GNU/Linux-libre Live _DATE_[00;37m + [35mParabola GNU/Linux-libre live media _DATE_[00;37m To install Parabola, the system must be connected to the internet. - For installation itself, enter this command: - [01;37m./install.sh[00;37m + For instructions, enter this command: + [01;37mless install.txt[00;37m Press the function keys while holding Alt to switch virtual terminals. + This allows entering commands without closing less. + + For installation itself, enter this command: + [01;37m./install.sh[00;37m [01;34m=============================================================================== [00;37m diff --git a/configs/lxde-openrc/root-image/etc/pam.d/su b/configs/lxde-openrc/airootfs/etc/pam.d/su index a291042..a291042 100644 --- a/configs/lxde-openrc/root-image/etc/pam.d/su +++ b/configs/lxde-openrc/airootfs/etc/pam.d/su diff --git a/configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf b/configs/lxde-openrc/airootfs/etc/skel/.config/lxsession/LXDE/desktop.conf index c50f484..c50f484 100644 --- a/configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf +++ b/configs/lxde-openrc/airootfs/etc/skel/.config/lxsession/LXDE/desktop.conf diff --git a/configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf b/configs/lxde-openrc/airootfs/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf index 6186fce..6186fce 100644 --- a/configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf +++ b/configs/lxde-openrc/airootfs/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf diff --git a/configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel b/configs/lxde-openrc/airootfs/etc/sudoers.d/g_wheel index 8c45359..8c45359 100644 --- a/configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel +++ b/configs/lxde-openrc/airootfs/etc/sudoers.d/g_wheel diff --git a/configs/lxde-openrc/root-image/etc/wallpaper.png b/configs/lxde-openrc/airootfs/etc/wallpaper.png Binary files differindex d2a3927..d2a3927 100644 --- a/configs/lxde-openrc/root-image/etc/wallpaper.png +++ b/configs/lxde-openrc/airootfs/etc/wallpaper.png diff --git a/configs/lxde-openrc/root-image/root/.automated_script.sh b/configs/lxde-openrc/airootfs/root/.automated_script.sh index fb106da..fb106da 100755 --- a/configs/lxde-openrc/root-image/root/.automated_script.sh +++ b/configs/lxde-openrc/airootfs/root/.automated_script.sh diff --git a/configs/lxde-openrc/root-image/root/.codecheck b/configs/lxde-openrc/airootfs/root/.codecheck index 8b10d0c..8b10d0c 100644 --- a/configs/lxde-openrc/root-image/root/.codecheck +++ b/configs/lxde-openrc/airootfs/root/.codecheck diff --git a/configs/lxde-openrc/root-image/root/.config/dconf/user b/configs/lxde-openrc/airootfs/root/.config/dconf/user Binary files differindex dab7f59..dab7f59 100644 --- a/configs/lxde-openrc/root-image/root/.config/dconf/user +++ b/configs/lxde-openrc/airootfs/root/.config/dconf/user diff --git a/configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini b/configs/lxde-openrc/airootfs/root/.config/gtk-2.0/gtkfilechooser.ini index c6b458d..c6b458d 100644 --- a/configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini +++ b/configs/lxde-openrc/airootfs/root/.config/gtk-2.0/gtkfilechooser.ini diff --git a/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart b/configs/lxde-openrc/airootfs/root/.config/lxsession/LXDE/autostart index 3942b5a..3942b5a 100644 --- a/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart +++ b/configs/lxde-openrc/airootfs/root/.config/lxsession/LXDE/autostart diff --git a/configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon b/configs/lxde-openrc/airootfs/root/.config/volumeicon/volumeicon index 588b9dd..588b9dd 100644 --- a/configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon +++ b/configs/lxde-openrc/airootfs/root/.config/volumeicon/volumeicon diff --git a/configs/lxde-openrc/root-image/root/.keymap.sh b/configs/lxde-openrc/airootfs/root/.keymap.sh index 56eb1dc..56eb1dc 100755 --- a/configs/lxde-openrc/root-image/root/.keymap.sh +++ b/configs/lxde-openrc/airootfs/root/.keymap.sh diff --git a/configs/lxde-openrc/root-image/root/.language.sh b/configs/lxde-openrc/airootfs/root/.language.sh index 11e986e..11e986e 100755 --- a/configs/lxde-openrc/root-image/root/.language.sh +++ b/configs/lxde-openrc/airootfs/root/.language.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/install.sh index 4120079..4120079 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/install.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/systemConfig.sh index d5195fb..d5195fb 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/systemConfig.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/userAccount.sh index a9551d8..a9551d8 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/en/userAccount.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/install.sh index 195c2a2..195c2a2 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/install.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/systemConfig.sh index 773d10c..773d10c 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/systemConfig.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh index 4ed7437..4ed7437 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/install.sh index 05ec262..05ec262 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/install.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/systemConfig.sh index 0fe3c68..0fe3c68 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/systemConfig.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/userAccount.sh index aa1d33a..aa1d33a 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/gl/userAccount.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/install.sh index 1de6c85..1de6c85 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/install.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/systemConfig.sh index 983d0ba..983d0ba 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/systemConfig.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh index 408beba..408beba 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/parabolaicon.png Binary files differindex aed32d7..aed32d7 100644 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/parabolaicon.png diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/x11.sh index 47035c5..47035c5 100755 --- a/configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/x11.sh diff --git a/configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme b/configs/lxde-openrc/airootfs/root/.themes/Parabola/index.theme index d6b2393..d6b2393 100644 --- a/configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme +++ b/configs/lxde-openrc/airootfs/root/.themes/Parabola/index.theme diff --git a/configs/lxde-openrc/root-image/root/.xinitrc b/configs/lxde-openrc/airootfs/root/.xinitrc index 09e419c..09e419c 100644 --- a/configs/lxde-openrc/root-image/root/.xinitrc +++ b/configs/lxde-openrc/airootfs/root/.xinitrc diff --git a/configs/lxde-openrc/root-image/root/.zlogin b/configs/lxde-openrc/airootfs/root/.zlogin index b24dba9..b24dba9 100644 --- a/configs/lxde-openrc/root-image/root/.zlogin +++ b/configs/lxde-openrc/airootfs/root/.zlogin diff --git a/configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop b/configs/lxde-openrc/airootfs/root/Desktop/Parabola Installation CLI.desktop index 9a2d871..9a2d871 100755 --- a/configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop +++ b/configs/lxde-openrc/airootfs/root/Desktop/Parabola Installation CLI.desktop diff --git a/configs/lxde-openrc/airootfs/root/customize_airootfs.sh b/configs/lxde-openrc/airootfs/root/customize_airootfs.sh new file mode 100755 index 0000000..7d1bfda --- /dev/null +++ b/configs/lxde-openrc/airootfs/root/customize_airootfs.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +set -e -u + +sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(es_ES\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(gl_ES\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(pt_BR\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(pl_PL\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(it_IT\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(fr_FR\.UTF-8\)/\1/' /etc/locale.gen +sed -i 's/#\(eo\)/\1/' /etc/locale.gen +locale-gen + +ln -sf /usr/share/zoneinfo/UTC /etc/localtime + +usermod -s /usr/bin/zsh root +cp -aT /etc/skel/ /root/ +chmod 700 /root + +sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config +sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist + +sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/elogind/logind.conf +sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/elogind/logind.conf +sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/elogind/logind.conf + +case $(uname -m) in + x86_64) echo 'KEYS="archlinux parabola"' > /etc/conf.d/pacman-init + ;; + i686) echo 'KEYS="archlinux archlinux32 parabola"' > /etc/conf.d/pacman-init + ;; +esac + +useradd -m -p "" -g users -G "adm,audio,floppy,log,network,scanner,storage,optical,power,wheel,disk,sys" -s /usr/bin/zsh parabola + +services=(NetworkManager + elogind + alsasound + dbus + haveged + pacman-init) + +for s in ${services[@]}; do + rc-update add $s default +done + +sed -i "s/_DATE_/$(date +%Y.%m.%d)/" /etc/motd diff --git a/configs/lxde-openrc/airootfs/root/install.txt b/configs/lxde-openrc/airootfs/root/install.txt new file mode 100644 index 0000000..a594b97 --- /dev/null +++ b/configs/lxde-openrc/airootfs/root/install.txt @@ -0,0 +1,2 @@ +View this installation guide online at +https://wiki.parabola.nu/Installation_Guide diff --git a/configs/lxde-openrc/aitab b/configs/lxde-openrc/aitab deleted file mode 100644 index b7e9a17..0000000 --- a/configs/lxde-openrc/aitab +++ /dev/null @@ -1,3 +0,0 @@ -# <img> <mnt> <arch> <sfs_comp> <fs_type> <fs_size> -root-image / i686 xz ext4 50% -root-image / x86_64 xz ext4 50% diff --git a/configs/lxde-openrc/build.sh b/configs/lxde-openrc/build.sh index 98a61eb..725605a 100755 --- a/configs/lxde-openrc/build.sh +++ b/configs/lxde-openrc/build.sh @@ -5,18 +5,23 @@ set -e -u iso_name=parabola-openrc-lxde iso_label="PARA_$(date +%Y%m)" iso_version=$(date +%Y.%m.%d) -iso_edition="LXDE" -iso_title="Parabola GNU/Linux-libre - ${iso_edition} Desktop LiveCD" +iso_title="Parabola GNU/Linux-libre - LXDE Desktop LiveCD" install_dir=parabola work_dir=work out_dir=out -data_dir=/usr/share/parabolaiso/data +gpg_key= arch=$(uname -m) verbose="" -pacman_conf=${work_dir}/pacman.conf script_path=$(readlink -f ${0%/*}) -initcpio_dir=${script_path}/../../parabolaiso/initcpio + +# Init system. Options are: +# - openrc +# - runit +# - systemd +# +# Default is systemd +init=openrc _usage () { @@ -48,56 +53,76 @@ run_once() { fi } -# Setup custom pacman.conf with current cache directories. +# Setup custom pacman.conf with current cache directories and custom mirrorlist. make_pacman_conf() { local _cache_dirs _cache_dirs=($(pacman -v 2>&1 | grep '^Cache Dirs:' | sed 's/Cache Dirs:\s*//g')) - sed -r "s|^#?\\s*CacheDir.+|CacheDir = $(echo -n ${_cache_dirs[@]})|g" ${script_path}/pacman.conf > ${pacman_conf} + sed -r "s|^#?\\s*CacheDir.+|CacheDir = $(echo -n ${_cache_dirs[@]})|g" ${script_path}/pacman.conf > ${work_dir}/pacman.conf } -# Base installation, plus needed packages (root-image) +# Base installation, plus needed packages (airootfs) make_basefs() { - setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" init - setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "memtest86+ mkinitcpio-nfs-utils nbd" install + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -i "${init}" init + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -i "${init}" -p "haveged memtest86+ mkinitcpio-nfs-utils nbd zsh" install } -# Additional packages (root-image) +# Additional packages (airootfs) make_packages() { - setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "$(grep -h -v ^# ${script_path}/packages.{both,${arch}})" install + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "$(grep -h -v ^# ${script_path}/packages.{both,${arch}})" install +} + +# Needed packages for x86_64 EFI boot +make_packages_efi() { + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "efitools" install } -# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image) +# Copy mkinitcpio parabolaiso hooks and build initramfs (airootfs) make_setup_mkinitcpio() { local _hook + mkdir -p ${work_dir}/${arch}/airootfs/etc/initcpio/hooks + mkdir -p ${work_dir}/${arch}/airootfs/etc/initcpio/install for _hook in parabolaiso parabolaiso_shutdown parabolaiso_pxe_common parabolaiso_pxe_nbd parabolaiso_pxe_http parabolaiso_pxe_nfs parabolaiso_loop_mnt; do - cp ${initcpio_dir}/hooks/${_hook} ${work_dir}/${arch}/root-image/usr/lib/initcpio/hooks - cp ${initcpio_dir}/install/${_hook} ${work_dir}/${arch}/root-image/usr/lib/initcpio/install + cp /usr/lib/initcpio/hooks/${_hook} ${work_dir}/${arch}/airootfs/etc/initcpio/hooks + cp /usr/lib/initcpio/install/${_hook} ${work_dir}/${arch}/airootfs/etc/initcpio/install done - cp ${initcpio_dir}/install/parabolaiso_kms ${work_dir}/${arch}/root-image/usr/lib/initcpio/install - cp ${initcpio_dir}/hooks/parabolaiso_shutdown ${work_dir}/${arch}/root-image/usr/lib/initcpio - cp ${script_path}/mkinitcpio.conf ${work_dir}/${arch}/root-image/etc/mkinitcpio-parabolaiso.conf - setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-parabolaiso.conf -k /boot/vmlinuz-linux-libre -g /boot/parabolaiso.img' run + sed -i "s|/usr/lib/initcpio/|/etc/initcpio/|g" ${work_dir}/${arch}/airootfs/etc/initcpio/install/parabolaiso_shutdown + cp /usr/lib/initcpio/install/parabolaiso_kms ${work_dir}/${arch}/airootfs/etc/initcpio/install + cp /usr/lib/initcpio/parabolaiso_shutdown ${work_dir}/${arch}/airootfs/etc/initcpio + cp ${script_path}/mkinitcpio.conf ${work_dir}/${arch}/airootfs/etc/mkinitcpio-parabolaiso.conf + gnupg_fd= + if [[ ${gpg_key} ]]; then + gpg --export ${gpg_key} >${work_dir}/gpgkey + exec 17<>${work_dir}/gpgkey + fi + PARABOLAISO_GNUPG_FD=${gpg_key:+17} setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-parabolaiso.conf -k /boot/vmlinuz-linux-libre -g /boot/parabolaiso.img' run + if [[ ${gpg_key} ]]; then + exec 17<&- + fi } -# Customize installation (root-image) -make_customize_root_image() { - cp -af ${script_path}/root-image ${work_dir}/${arch} +# Customize installation (airootfs) +make_customize_airootfs() { + cp -af ${script_path}/airootfs ${work_dir}/${arch} - iso_version="${iso_version}" setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r '/root/customize_root_image.sh' run - rm ${work_dir}/${arch}/root-image/root/customize_root_image.sh + curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://www.parabola.nu/mirrorlist/?country=all&protocol=http&use_mirror_status=on' + + lynx -dump -nolist 'https://wiki.parabola.nu/index.php/Installation_Guide?action=render' >> ${work_dir}/${arch}/airootfs/root/install.txt + + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -r '/root/customize_airootfs.sh' run + rm ${work_dir}/${arch}/airootfs/root/customize_airootfs.sh } # Prepare kernel/initramfs ${install_dir}/boot/ make_boot() { mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch} - cp ${work_dir}/${arch}/root-image/boot/parabolaiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/parabolaiso.img - cp ${work_dir}/${arch}/root-image/boot/vmlinuz-linux-libre ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz + cp ${work_dir}/${arch}/airootfs/boot/parabolaiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/parabolaiso.img + cp ${work_dir}/${arch}/airootfs/boot/vmlinuz-linux-libre ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz } # Add other aditional/extra files to ${install_dir}/boot/ make_boot_extra() { - cp ${work_dir}/${arch}/root-image/boot/memtest86+/memtest.bin ${work_dir}/iso/${install_dir}/boot/memtest - cp ${work_dir}/${arch}/root-image/usr/share/licenses/common/GPL2/license.txt ${work_dir}/iso/${install_dir}/boot/memtest.COPYING + cp ${work_dir}/${arch}/airootfs/boot/memtest86+/memtest.bin ${work_dir}/iso/${install_dir}/boot/memtest + cp ${work_dir}/${arch}/airootfs/usr/share/licenses/common/GPL2/license.txt ${work_dir}/iso/${install_dir}/boot/memtest.COPYING } # Prepare /${install_dir}/boot/syslinux @@ -108,13 +133,13 @@ make_syslinux() { s|%INSTALL_DIR%|${install_dir}|g" ${_cfg} > ${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/} done cp ${script_path}/syslinux/splash.png ${work_dir}/iso/${install_dir}/boot/syslinux - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/*.c32 ${work_dir}/iso/${install_dir}/boot/syslinux - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/lpxelinux.0 ${work_dir}/iso/${install_dir}/boot/syslinux - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/memdisk ${work_dir}/iso/${install_dir}/boot/syslinux + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/*.c32 ${work_dir}/iso/${install_dir}/boot/syslinux + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/lpxelinux.0 ${work_dir}/iso/${install_dir}/boot/syslinux + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/memdisk ${work_dir}/iso/${install_dir}/boot/syslinux mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux/hdt - gzip -c -9 ${work_dir}/${arch}/root-image/usr/share/hwdata/pci.ids > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/pciids.gz - gzip -c -9 ${work_dir}/${arch}/root-image/usr/lib/modules/*-gnu-*/modules.alias > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz - + gzip -c -9 ${work_dir}/${arch}/airootfs/usr/share/hwdata/pci.ids > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/pciids.gz + gzip -c -9 ${work_dir}/${arch}/airootfs/usr/lib/modules/*-gnu-*/modules.alias > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz + # inject edition title sed -i "s|_EDITION_TITLE_|${iso_title}|" ${work_dir}/iso/${install_dir}/boot/syslinux/parabolaiso_head.cfg } @@ -123,14 +148,16 @@ make_syslinux() { make_isolinux() { mkdir -p ${work_dir}/iso/isolinux sed "s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/isolinux/isolinux.cfg > ${work_dir}/iso/isolinux/isolinux.cfg - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/isolinux.bin ${work_dir}/iso/isolinux/ - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/isohdpfx.bin ${work_dir}/iso/isolinux/ - cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/bios/ldlinux.c32 ${work_dir}/iso/isolinux/ + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/isolinux.bin ${work_dir}/iso/isolinux/ + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/isohdpfx.bin ${work_dir}/iso/isolinux/ + cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/ldlinux.c32 ${work_dir}/iso/isolinux/ } # Prepare /EFI make_efi() { mkdir -p ${work_dir}/iso/EFI/boot + cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi + cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/HashTool.efi ${work_dir}/iso/EFI/boot/ mkdir -p ${work_dir}/iso/loader/entries cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/ @@ -141,17 +168,17 @@ make_efi() { s|%INSTALL_DIR%|${install_dir}|g" \ ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-usb.conf > ${work_dir}/iso/loader/entries/parabolaiso-x86_64.conf - # EFI Shell 2.0 for UEFI 2.3+ ( http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=UEFI_Shell ) - cp ${data_dir}/Shell.efi ${work_dir}/iso/EFI/shellx64_v2.efi - # EFI Shell 1.0 for non UEFI 2.3+ ( http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Efi-shell ) - cp ${data_dir}/Shell_Full.efi ${work_dir}/iso/EFI/shellx64_v1.efi + # EFI Shell 2.0 for UEFI 2.3+ + curl -o ${work_dir}/iso/EFI/shellx64_v2.efi https://raw.githubusercontent.com/tianocore/edk2/master/ShellBinPkg/UefiShell/X64/Shell.efi + # EFI Shell 1.0 for non UEFI 2.3+ + curl -o ${work_dir}/iso/EFI/shellx64_v1.efi https://raw.githubusercontent.com/tianocore/edk2/master/EdkShellBinPkg/FullShell/X64/Shell_Full.efi } # Prepare efiboot.img::/EFI for "El Torito" EFI boot mode make_efiboot() { mkdir -p ${work_dir}/iso/EFI/parabolaiso - truncate -s 38M ${work_dir}/iso/EFI/parabolaiso/efiboot.img - mkfs.vfat -n PARABOLAISO_EFI ${work_dir}/iso/EFI/parabolaiso/efiboot.img + truncate -s 64M ${work_dir}/iso/EFI/parabolaiso/efiboot.img + mkfs.fat -n PARABOLAISO_EFI ${work_dir}/iso/EFI/parabolaiso/efiboot.img mkdir -p ${work_dir}/efiboot mount ${work_dir}/iso/EFI/parabolaiso/efiboot.img ${work_dir}/efiboot @@ -161,6 +188,8 @@ make_efiboot() { cp ${work_dir}/iso/${install_dir}/boot/x86_64/parabolaiso.img ${work_dir}/efiboot/EFI/parabolaiso/parabolaiso.img mkdir -p ${work_dir}/efiboot/EFI/boot + cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi ${work_dir}/efiboot/EFI/boot/bootx64.efi + cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/HashTool.efi ${work_dir}/efiboot/EFI/boot/ mkdir -p ${work_dir}/efiboot/loader/entries cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/ @@ -174,27 +203,20 @@ make_efiboot() { cp ${work_dir}/iso/EFI/shellx64_v2.efi ${work_dir}/efiboot/EFI/ cp ${work_dir}/iso/EFI/shellx64_v1.efi ${work_dir}/efiboot/EFI/ - umount ${work_dir}/efiboot + umount -d ${work_dir}/efiboot } -# Copy aitab -make_aitab() { - mkdir -p ${work_dir}/iso/${install_dir} - cp ${script_path}/aitab ${work_dir}/iso/${install_dir}/aitab -} - -# Build all filesystem images specified in aitab (.fs.sfs .sfs) +# Build airootfs filesystem image make_prepare() { - cp -a -l -f ${work_dir}/${arch}/root-image ${work_dir} + cp -a -l -f ${work_dir}/${arch}/airootfs ${work_dir} setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist - setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare - rm -rf ${work_dir}/root-image - # rm -rf ${work_dir}/${arch}/root-image (if low space, this helps) + setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" ${gpg_key:+-g ${gpg_key}} prepare + rm -rf ${work_dir}/airootfs + # rm -rf ${work_dir}/${arch}/airootfs (if low space, this helps) } # Build ISO make_iso() { - mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-dual.iso" } @@ -208,7 +230,7 @@ if [[ ${arch} != x86_64 ]]; then _usage 1 fi -while getopts 'N:V:L:D:w:o:vh' arg; do +while getopts 'N:V:L:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; V) iso_version="${OPTARG}" ;; @@ -216,6 +238,7 @@ while getopts 'N:V:L:D:w:o:vh' arg; do D) install_dir="${OPTARG}" ;; w) work_dir="${OPTARG}" ;; o) out_dir="${OPTARG}" ;; + g) gpg_key="${OPTARG}" ;; v) verbose="-v" ;; h) _usage 0 ;; *) @@ -229,12 +252,17 @@ mkdir -p ${work_dir} run_once make_pacman_conf -# Do all stuff for each root-image +# Do all stuff for each airootfs for arch in i686 x86_64; do run_once make_basefs run_once make_packages +done + +run_once make_packages_efi + +for arch in i686 x86_64; do run_once make_setup_mkinitcpio - run_once make_customize_root_image + run_once make_customize_airootfs done for arch in i686 x86_64; do @@ -242,17 +270,11 @@ for arch in i686 x86_64; do done # Do all stuff for "iso" - -if [[ $(lsmod|grep loop) = "" ]]; then - modprobe loop -fi - run_once make_boot_extra run_once make_syslinux run_once make_isolinux run_once make_efi run_once make_efiboot -run_once make_aitab for arch in i686 x86_64; do run_once make_prepare diff --git a/configs/lxde-openrc/mkinitcpio.conf b/configs/lxde-openrc/mkinitcpio.conf index fc2572b..9448579 100644 --- a/configs/lxde-openrc/mkinitcpio.conf +++ b/configs/lxde-openrc/mkinitcpio.conf @@ -1,3 +1,3 @@ MODULES="loop" -HOOKS="base udev memdisk parabolaiso_shutdown parabolaiso parabolaiso_loop_mnt parabolaiso_pxe_common parabolaiso_pxe_nbd parabolaiso_pxe_http parabolaiso_pxe_nfs parabolaiso_kms block pcmcia filesystems keyboard" +HOOKS=(base udev memdisk parabolaiso_shutdown parabolaiso parabolaiso_loop_mnt parabolaiso_pxe_common parabolaiso_pxe_nbd parabolaiso_pxe_http parabolaiso_pxe_nfs parabolaiso_kms block pcmcia filesystems keyboard) COMPRESSION="xz" diff --git a/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 b/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 deleted file mode 100644 index b7ff06d..0000000 --- a/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 +++ /dev/null @@ -1,11 +0,0 @@ -# Set the baud rate of the terminal line -baud="38400" - -# set the terminal type -term_type="linux" - -# extra options to pass to agetty for this port -agetty_options="--autologin root --noclear" - -# make agetty quiet -#quiet="no" diff --git a/configs/lxde-openrc/root-image/etc/conf.d/hostname b/configs/lxde-openrc/root-image/etc/conf.d/hostname deleted file mode 100644 index a701f0c..0000000 --- a/configs/lxde-openrc/root-image/etc/conf.d/hostname +++ /dev/null @@ -1,2 +0,0 @@ -# Set to the hostname of this machine -hostname="parabolaiso" diff --git a/configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules deleted file mode 100644 index 970da69..0000000 --- a/configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules +++ /dev/null @@ -1 +0,0 @@ -ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" diff --git a/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf b/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf deleted file mode 100644 index c50f484..0000000 --- a/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf +++ /dev/null @@ -1,48 +0,0 @@ -[Session] -window_manager=openbox-lxde -disable_autostart=no -polkit/command=sleep 5s && lxpolkit -clipboard/command=lxclipboard -xsettings_manager/command=build-in -proxy_manager/command=build-in -keyring/command=ssh-agent -quit_manager/command=lxsession-logout -lock_manager/command=lxlock -terminal_manager/command=lxterminal - -[GTK] -sNet/ThemeName=Adwaita -sNet/IconThemeName=nuoveXT2 -sGtk/FontName=Sans 10 -iGtk/ToolbarStyle=3 -iGtk/ButtonImages=1 -iGtk/MenuImages=1 -iGtk/CursorThemeSize=18 -iXft/Antialias=1 -iXft/Hinting=1 -sXft/HintStyle=hintslight -sXft/RGBA=rgb -iNet/EnableEventSounds=1 -iNet/EnableInputFeedbackSounds=1 -sGtk/ColorScheme= -iGtk/ToolbarIconSize=3 -sGtk/CursorThemeName=DMZ-White - -[Mouse] -AccFactor=20 -AccThreshold=10 -LeftHanded=0 - -[Keyboard] -Delay=500 -Interval=30 -Beep=1 - -[State] -guess_default=true - -[Dbus] -lxde=true - -[Environment] -menu_prefix=lxde- diff --git a/configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf b/configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf deleted file mode 100644 index 6186fce..0000000 --- a/configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf +++ /dev/null @@ -1,14 +0,0 @@ -[*] -wallpaper_mode=crop -wallpaper_common=1 -wallpaper=/etc/wallpaper.png -desktop_bg=#000000 -desktop_fg=#ffffff -desktop_shadow=#000000 -desktop_font=Sans 12 -show_wm_menu=0 -sort=mtime;ascending; -show_documents=0 -show_trash=1 -show_mounts=1 - diff --git a/configs/lxde-openrc/root-image/root/customize_root_image.sh b/configs/lxde-openrc/root-image/root/customize_root_image.sh deleted file mode 100755 index 26b7b19..0000000 --- a/configs/lxde-openrc/root-image/root/customize_root_image.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -set -e -u - -check_dbus() { - grep dbus /etc/$1 -} - -sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(es_ES\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(gl_ES\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(pt_BR\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(pl_PL\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(it_IT\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(fr_FR\.UTF-8\)/\1/' /etc/locale.gen -sed -i 's/#\(eo\)/\1/' /etc/locale.gen -locale-gen - -ln -sf /usr/share/zoneinfo/UTC /etc/localtime - -usermod -s /usr/bin/zsh root -cp -aT /etc/skel/ /root/ - -useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel,disk,sys" -s /usr/bin/zsh parabola - -# Create the dbus user if it doesn't exist -[[ $(check_dbus group) = "" ]] && groupadd -g 81 dbus -[[ $(check_dbus passwd) = "" ]] && useradd -r -s /sbin/nologin -g 81 -u 81 dbus - -chmod 750 /etc/sudoers.d -chmod 440 /etc/sudoers.d/g_wheel - -sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist - -rc-update add NetworkManager default -rc-update add elogind default -rc-update add alsasound default -rc-update add dbus default -rc-update add haveged default -rc-update add pacman-init default - -sed -i "s/_DATE_/${iso_version}/" /etc/motd |