From 703af9dc9078d41909af18e2eab20a7963414d0d Mon Sep 17 00:00:00 2001 From: David P Date: Mon, 6 Nov 2017 17:18:46 -0300 Subject: Add configs/lxde-openrc Remove configs/mate and configs/mate-openrc --- configs/lxde-openrc/aitab | 3 + configs/lxde-openrc/build.sh | 261 +++++++++++++++++++ .../loader/entries/parabolaiso-x86_64-cd.conf | 4 + .../loader/entries/parabolaiso-x86_64-usb.conf | 4 + .../loader/entries/uefi-shell-v1-x86_64.conf | 2 + .../loader/entries/uefi-shell-v2-x86_64.conf | 2 + configs/lxde-openrc/efiboot/loader/loader.conf | 2 + configs/lxde-openrc/isolinux/isolinux.cfg | 6 + configs/lxde-openrc/mkinitcpio.conf | 3 + configs/lxde-openrc/packages.both | 176 +++++++++++++ configs/lxde-openrc/packages.i686 | 0 configs/lxde-openrc/packages.x86_64 | 1 + configs/lxde-openrc/pacman.conf | 104 ++++++++ .../lxde-openrc/root-image/etc/conf.d/agetty.tty1 | 11 + configs/lxde-openrc/root-image/etc/conf.d/hostname | 2 + configs/lxde-openrc/root-image/etc/fstab | 0 .../lxde-openrc/root-image/etc/init.d/pacman-init | 31 +++ configs/lxde-openrc/root-image/etc/locale.conf | 1 + configs/lxde-openrc/root-image/etc/motd | 13 + configs/lxde-openrc/root-image/etc/pam.d/su | 6 + .../etc/skel/.config/lxsession/LXDE/desktop.conf | 48 ++++ .../skel/.config/pcmanfm/LXDE/desktop-items-0.conf | 14 + .../lxde-openrc/root-image/etc/sudoers.d/g_wheel | 1 + .../root-image/etc/udev/rules.d/81-dhcpcd.rules | 1 + configs/lxde-openrc/root-image/etc/wallpaper.png | Bin 0 -> 159460 bytes .../root-image/root/.automated_script.sh | 34 +++ configs/lxde-openrc/root-image/root/.codecheck | 2 + .../lxde-openrc/root-image/root/.config/dconf/user | Bin 0 -> 6616 bytes .../root/.config/gtk-2.0/gtkfilechooser.ini | 11 + .../root/.config/lxsession/LXDE/autostart | 4 + .../root/.config/lxsession/LXDE/desktop.conf | 48 ++++ .../root/.config/pcmanfm/LXDE/desktop-items-0.conf | 14 + .../root-image/root/.config/volumeicon/volumeicon | 25 ++ configs/lxde-openrc/root-image/root/.keymap.sh | 116 +++++++++ configs/lxde-openrc/root-image/root/.language.sh | 32 +++ .../.scriptsInstallation/language/en/install.sh | 227 ++++++++++++++++ .../language/en/systemConfig.sh | 271 ++++++++++++++++++++ .../language/en/userAccount.sh | 13 + .../.scriptsInstallation/language/es/install.sh | 227 ++++++++++++++++ .../language/es/systemConfig.sh | 271 ++++++++++++++++++++ .../language/es/userAccount.sh | 13 + .../.scriptsInstallation/language/gl/install.sh | 226 ++++++++++++++++ .../language/gl/systemConfig.sh | 271 ++++++++++++++++++++ .../language/gl/userAccount.sh | 13 + .../.scriptsInstallation/language/pt/install.sh | 227 ++++++++++++++++ .../language/pt/systemConfig.sh | 271 ++++++++++++++++++++ .../language/pt/userAccount.sh | 13 + .../root/.scriptsInstallation/parabolaicon.png | Bin 0 -> 857 bytes .../root-image/root/.scriptsInstallation/x11.sh | 14 + .../root-image/root/.themes/Parabola/index.theme | 13 + configs/lxde-openrc/root-image/root/.xinitrc | 7 + configs/lxde-openrc/root-image/root/.zlogin | 4 + .../root/Desktop/Parabola Installation CLI.desktop | 12 + .../root-image/root/customize_root_image.sh | 42 +++ configs/lxde-openrc/syslinux/parabolaiso.cfg | 11 + configs/lxde-openrc/syslinux/parabolaiso_head.cfg | 25 ++ configs/lxde-openrc/syslinux/parabolaiso_pxe32.cfg | 32 +++ configs/lxde-openrc/syslinux/parabolaiso_pxe64.cfg | 32 +++ .../syslinux/parabolaiso_pxe_32_inc.cfg | 3 + .../syslinux/parabolaiso_pxe_both_inc.cfg | 4 + .../syslinux/parabolaiso_pxe_choose.cfg | 11 + configs/lxde-openrc/syslinux/parabolaiso_sys32.cfg | 9 + configs/lxde-openrc/syslinux/parabolaiso_sys64.cfg | 9 + .../syslinux/parabolaiso_sys_32_inc.cfg | 3 + .../syslinux/parabolaiso_sys_both_inc.cfg | 4 + .../syslinux/parabolaiso_sys_choose.cfg | 11 + configs/lxde-openrc/syslinux/parabolaiso_tail.cfg | 27 ++ configs/lxde-openrc/syslinux/splash.png | Bin 0 -> 32253 bytes configs/lxde-openrc/syslinux/syslinux.cfg | 5 + configs/mate-openrc/aitab | 3 - configs/mate-openrc/build.sh | 252 ------------------ .../loader/entries/parabolaiso-x86_64-cd.conf | 4 - .../loader/entries/parabolaiso-x86_64-usb.conf | 4 - .../loader/entries/uefi-shell-v1-x86_64.conf | 2 - .../loader/entries/uefi-shell-v2-x86_64.conf | 2 - configs/mate-openrc/efiboot/loader/loader.conf | 2 - configs/mate-openrc/isolinux/isolinux.cfg | 6 - configs/mate-openrc/mkinitcpio.conf | 3 - configs/mate-openrc/packages.both | 139 ---------- configs/mate-openrc/packages.i686 | 0 configs/mate-openrc/packages.x86_64 | 1 - configs/mate-openrc/pacman.conf | 128 ---------- .../mate-openrc/root-image/etc/conf.d/agetty.tty1 | 11 - configs/mate-openrc/root-image/etc/conf.d/hostname | 2 - configs/mate-openrc/root-image/etc/fstab | 0 .../mate-openrc/root-image/etc/init.d/pacman-init | 31 --- configs/mate-openrc/root-image/etc/locale.conf | 1 - configs/mate-openrc/root-image/etc/motd | 14 - configs/mate-openrc/root-image/etc/pam.d/su | 6 - .../root-image/etc/skel/.config/caja/accels | 133 ---------- .../etc/skel/.config/caja/desktop-metadata | 23 -- .../root-image/etc/skel/.config/dconf/user | Bin 5534 -> 0 bytes .../etc/skel/.config/gtk-2.0/gtkfilechooser.ini | 11 - .../etc/skel/.config/volumeicon/volumeicon | 25 -- configs/mate-openrc/root-image/etc/skel/.directory | 6 - .../mate-openrc/root-image/etc/sudoers.d/g_wheel | 1 - .../root-image/etc/udev/rules.d/81-dhcpcd.rules | 1 - configs/mate-openrc/root-image/etc/wallpaper.png | Bin 842326 -> 0 bytes .../root-image/root/.automated_script.sh | 34 --- configs/mate-openrc/root-image/root/.codecheck | 2 - .../root/.config/autostart/.keymap.desktop | 7 - .../root-image/root/.config/caja/accels | 173 ------------- .../root-image/root/.config/caja/desktop-metadata | 24 -- .../mate-openrc/root-image/root/.config/dconf/user | Bin 6616 -> 0 bytes .../root/.config/gtk-2.0/gtkfilechooser.ini | 11 - .../root-image/root/.config/volumeicon/volumeicon | 25 -- configs/mate-openrc/root-image/root/.directory | 6 - configs/mate-openrc/root-image/root/.keymap.sh | 118 --------- configs/mate-openrc/root-image/root/.language.sh | 30 --- .../.scriptsInstallation/language/en/install.sh | 217 ---------------- .../language/en/systemConfig.sh | 271 -------------------- .../language/en/userAccount.sh | 13 - .../.scriptsInstallation/language/es/install.sh | 217 ---------------- .../language/es/systemConfig.sh | 271 -------------------- .../language/es/userAccount.sh | 13 - .../.scriptsInstallation/language/gl/install.sh | 216 ---------------- .../language/gl/systemConfig.sh | 271 -------------------- .../language/gl/userAccount.sh | 13 - .../.scriptsInstallation/language/pt/install.sh | 217 ---------------- .../language/pt/systemConfig.sh | 271 -------------------- .../language/pt/userAccount.sh | 13 - .../root/.scriptsInstallation/parabolaicon.png | Bin 857 -> 0 bytes .../root-image/root/.scriptsInstallation/x11.sh | 3 - .../root-image/root/.themes/Parabola/index.theme | 13 - configs/mate-openrc/root-image/root/.xinitrc | 12 - configs/mate-openrc/root-image/root/.zlogin | 4 - .../root/Desktop/Parabola Installation CLI.desktop | 12 - .../root-image/root/customize_root_image.sh | 48 ---- configs/mate-openrc/syslinux/parabolaiso.cfg | 11 - configs/mate-openrc/syslinux/parabolaiso_head.cfg | 25 -- configs/mate-openrc/syslinux/parabolaiso_pxe32.cfg | 32 --- configs/mate-openrc/syslinux/parabolaiso_pxe64.cfg | 32 --- .../syslinux/parabolaiso_pxe_32_inc.cfg | 3 - .../syslinux/parabolaiso_pxe_both_inc.cfg | 4 - .../syslinux/parabolaiso_pxe_choose.cfg | 11 - configs/mate-openrc/syslinux/parabolaiso_sys32.cfg | 9 - configs/mate-openrc/syslinux/parabolaiso_sys64.cfg | 9 - .../syslinux/parabolaiso_sys_32_inc.cfg | 3 - .../syslinux/parabolaiso_sys_both_inc.cfg | 4 - .../syslinux/parabolaiso_sys_choose.cfg | 11 - configs/mate-openrc/syslinux/parabolaiso_tail.cfg | 27 -- configs/mate-openrc/syslinux/splash.png | Bin 32253 -> 0 bytes configs/mate-openrc/syslinux/syslinux.cfg | 5 - configs/mate/aitab | 3 - configs/mate/build.sh | 254 ------------------ .../loader/entries/parabolaiso-x86_64-cd.conf | 4 - .../loader/entries/parabolaiso-x86_64-usb.conf | 4 - .../loader/entries/uefi-shell-v1-x86_64.conf | 2 - .../loader/entries/uefi-shell-v2-x86_64.conf | 2 - configs/mate/efiboot/loader/loader.conf | 2 - configs/mate/isolinux/isolinux.cfg | 6 - configs/mate/mkinitcpio.conf | 2 - configs/mate/packages.both | 135 ---------- configs/mate/packages.i686 | 0 configs/mate/packages.x86_64 | 1 - configs/mate/pacman.conf | 104 -------- configs/mate/root-image/etc/fstab | 0 configs/mate/root-image/etc/hostname | 1 - configs/mate/root-image/etc/locale.conf | 1 - configs/mate/root-image/etc/motd | 14 - configs/mate/root-image/etc/pam.d/su | 6 - .../mate/root-image/etc/skel/.config/caja/accels | 133 ---------- .../etc/skel/.config/caja/desktop-metadata | 23 -- .../mate/root-image/etc/skel/.config/dconf/user | Bin 6616 -> 0 bytes .../etc/skel/.config/gtk-2.0/gtkfilechooser.ini | 11 - .../etc/skel/.config/volumeicon/volumeicon | 25 -- configs/mate/root-image/etc/skel/.directory | 6 - configs/mate/root-image/etc/sudoers.d/g_wheel | 1 - .../root-image/etc/systemd/scripts/choose-mirror | 26 -- .../etc/systemd/system/choose-mirror.service | 10 - .../etc/systemd/system/etc-pacman.d-gnupg.mount | 8 - .../system/getty@tty1.service.d/autologin.conf | 3 - .../etc/systemd/system/pacman-init.service | 16 -- .../root-image/etc/udev/rules.d/81-dhcpcd.rules | 1 - configs/mate/root-image/etc/wallpaper.png | Bin 1486593 -> 0 bytes configs/mate/root-image/root/.automated_script.sh | 34 --- configs/mate/root-image/root/.codecheck | 2 - .../root/.config/autostart/.language.sh.desktop | 9 - configs/mate/root-image/root/.config/caja/accels | 133 ---------- .../root-image/root/.config/caja/desktop-metadata | 24 -- configs/mate/root-image/root/.config/dconf/user | Bin 6616 -> 0 bytes .../root/.config/gtk-2.0/gtkfilechooser.ini | 11 - .../root-image/root/.config/volumeicon/volumeicon | 25 -- configs/mate/root-image/root/.directory | 6 - configs/mate/root-image/root/.language.sh | 43 ---- .../.scriptsInstallation/language/en/install.sh | 235 ----------------- .../language/en/systemConfig.sh | 270 -------------------- .../language/en/userAccount.sh | 35 --- .../.scriptsInstallation/language/es/install.sh | 237 ----------------- .../language/es/systemConfig.sh | 270 -------------------- .../language/es/userAccount.sh | 35 --- .../.scriptsInstallation/language/gl/install.sh | 237 ----------------- .../language/gl/systemConfig.sh | 270 -------------------- .../language/gl/userAccount.sh | 35 --- .../.scriptsInstallation/language/pt/install.sh | 237 ----------------- .../language/pt/systemConfig.sh | 270 -------------------- .../language/pt/userAccount.sh | 35 --- .../root/.scriptsInstallation/parabolaicon.png | Bin 857 -> 0 bytes .../root-image/root/.scriptsInstallation/x11.sh | 4 - .../root-image/root/.themes/Parabola/index.theme | 13 - configs/mate/root-image/root/.xinitrc | 9 - configs/mate/root-image/root/.zlogin | 2 - .../root/Desktop/Parabola Installation CLI.desktop | 12 - .../mate/root-image/root/customize_root_image.sh | 25 -- configs/mate/syslinux/parabolaiso.cfg | 11 - configs/mate/syslinux/parabolaiso_head.cfg | 25 -- configs/mate/syslinux/parabolaiso_pxe32.cfg | 32 --- configs/mate/syslinux/parabolaiso_pxe64.cfg | 32 --- configs/mate/syslinux/parabolaiso_pxe_32_inc.cfg | 3 - configs/mate/syslinux/parabolaiso_pxe_both_inc.cfg | 4 - configs/mate/syslinux/parabolaiso_pxe_choose.cfg | 11 - configs/mate/syslinux/parabolaiso_sys32.cfg | 9 - configs/mate/syslinux/parabolaiso_sys64.cfg | 9 - configs/mate/syslinux/parabolaiso_sys_32_inc.cfg | 3 - configs/mate/syslinux/parabolaiso_sys_both_inc.cfg | 4 - configs/mate/syslinux/parabolaiso_sys_choose.cfg | 11 - configs/mate/syslinux/parabolaiso_tail.cfg | 27 -- configs/mate/syslinux/splash.png | Bin 27496 -> 0 bytes configs/mate/syslinux/splash.svg | 284 --------------------- configs/mate/syslinux/syslinux.cfg | 5 - configs/talkingparabola-X11/build.sh | 2 +- configs/talkingparabola-X11/mkinitcpio.conf | 1 + 222 files changed, 3305 insertions(+), 7315 deletions(-) create mode 100644 configs/lxde-openrc/aitab create mode 100755 configs/lxde-openrc/build.sh create mode 100644 configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf create mode 100644 configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf create mode 100644 configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf create mode 100644 configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf create mode 100644 configs/lxde-openrc/efiboot/loader/loader.conf create mode 100644 configs/lxde-openrc/isolinux/isolinux.cfg create mode 100644 configs/lxde-openrc/mkinitcpio.conf create mode 100644 configs/lxde-openrc/packages.both create mode 100644 configs/lxde-openrc/packages.i686 create mode 100644 configs/lxde-openrc/packages.x86_64 create mode 100644 configs/lxde-openrc/pacman.conf create mode 100644 configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 create mode 100644 configs/lxde-openrc/root-image/etc/conf.d/hostname create mode 100644 configs/lxde-openrc/root-image/etc/fstab create mode 100755 configs/lxde-openrc/root-image/etc/init.d/pacman-init create mode 100644 configs/lxde-openrc/root-image/etc/locale.conf create mode 100644 configs/lxde-openrc/root-image/etc/motd create mode 100644 configs/lxde-openrc/root-image/etc/pam.d/su create mode 100644 configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf create mode 100644 configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf create mode 100644 configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel create mode 100644 configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules create mode 100644 configs/lxde-openrc/root-image/etc/wallpaper.png create mode 100755 configs/lxde-openrc/root-image/root/.automated_script.sh create mode 100644 configs/lxde-openrc/root-image/root/.codecheck create mode 100644 configs/lxde-openrc/root-image/root/.config/dconf/user create mode 100644 configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini create mode 100644 configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart create mode 100644 configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf create mode 100644 configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf create mode 100644 configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon create mode 100755 configs/lxde-openrc/root-image/root/.keymap.sh create mode 100755 configs/lxde-openrc/root-image/root/.language.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh create mode 100644 configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png create mode 100755 configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh create mode 100644 configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme create mode 100644 configs/lxde-openrc/root-image/root/.xinitrc create mode 100644 configs/lxde-openrc/root-image/root/.zlogin create mode 100755 configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop create mode 100755 configs/lxde-openrc/root-image/root/customize_root_image.sh create mode 100644 configs/lxde-openrc/syslinux/parabolaiso.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_head.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_pxe32.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_pxe64.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_pxe_32_inc.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_pxe_both_inc.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_pxe_choose.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_sys32.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_sys64.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_sys_32_inc.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_sys_both_inc.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_sys_choose.cfg create mode 100644 configs/lxde-openrc/syslinux/parabolaiso_tail.cfg create mode 100644 configs/lxde-openrc/syslinux/splash.png create mode 100644 configs/lxde-openrc/syslinux/syslinux.cfg delete mode 100644 configs/mate-openrc/aitab delete mode 100755 configs/mate-openrc/build.sh delete mode 100644 configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf delete mode 100644 configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf delete mode 100644 configs/mate-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf delete mode 100644 configs/mate-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf delete mode 100644 configs/mate-openrc/efiboot/loader/loader.conf delete mode 100644 configs/mate-openrc/isolinux/isolinux.cfg delete mode 100644 configs/mate-openrc/mkinitcpio.conf delete mode 100644 configs/mate-openrc/packages.both delete mode 100644 configs/mate-openrc/packages.i686 delete mode 100644 configs/mate-openrc/packages.x86_64 delete mode 100644 configs/mate-openrc/pacman.conf delete mode 100644 configs/mate-openrc/root-image/etc/conf.d/agetty.tty1 delete mode 100644 configs/mate-openrc/root-image/etc/conf.d/hostname delete mode 100644 configs/mate-openrc/root-image/etc/fstab delete mode 100755 configs/mate-openrc/root-image/etc/init.d/pacman-init delete mode 100644 configs/mate-openrc/root-image/etc/locale.conf delete mode 100644 configs/mate-openrc/root-image/etc/motd delete mode 100644 configs/mate-openrc/root-image/etc/pam.d/su delete mode 100644 configs/mate-openrc/root-image/etc/skel/.config/caja/accels delete mode 100644 configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata delete mode 100644 configs/mate-openrc/root-image/etc/skel/.config/dconf/user delete mode 100644 configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini delete mode 100644 configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon delete mode 100644 configs/mate-openrc/root-image/etc/skel/.directory delete mode 100644 configs/mate-openrc/root-image/etc/sudoers.d/g_wheel delete mode 100644 configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules delete mode 100644 configs/mate-openrc/root-image/etc/wallpaper.png delete mode 100755 configs/mate-openrc/root-image/root/.automated_script.sh delete mode 100644 configs/mate-openrc/root-image/root/.codecheck delete mode 100755 configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop delete mode 100644 configs/mate-openrc/root-image/root/.config/caja/accels delete mode 100644 configs/mate-openrc/root-image/root/.config/caja/desktop-metadata delete mode 100644 configs/mate-openrc/root-image/root/.config/dconf/user delete mode 100644 configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini delete mode 100644 configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon delete mode 100644 configs/mate-openrc/root-image/root/.directory delete mode 100755 configs/mate-openrc/root-image/root/.keymap.sh delete mode 100755 configs/mate-openrc/root-image/root/.language.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh delete mode 100644 configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png delete mode 100755 configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh delete mode 100644 configs/mate-openrc/root-image/root/.themes/Parabola/index.theme delete mode 100644 configs/mate-openrc/root-image/root/.xinitrc delete mode 100644 configs/mate-openrc/root-image/root/.zlogin delete mode 100755 configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop delete mode 100755 configs/mate-openrc/root-image/root/customize_root_image.sh delete mode 100644 configs/mate-openrc/syslinux/parabolaiso.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_head.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_pxe32.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_pxe64.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_pxe_32_inc.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_pxe_both_inc.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_pxe_choose.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_sys32.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_sys64.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_sys_32_inc.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_sys_both_inc.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_sys_choose.cfg delete mode 100644 configs/mate-openrc/syslinux/parabolaiso_tail.cfg delete mode 100644 configs/mate-openrc/syslinux/splash.png delete mode 100644 configs/mate-openrc/syslinux/syslinux.cfg delete mode 100644 configs/mate/aitab delete mode 100755 configs/mate/build.sh delete mode 100644 configs/mate/efiboot/loader/entries/parabolaiso-x86_64-cd.conf delete mode 100644 configs/mate/efiboot/loader/entries/parabolaiso-x86_64-usb.conf delete mode 100644 configs/mate/efiboot/loader/entries/uefi-shell-v1-x86_64.conf delete mode 100644 configs/mate/efiboot/loader/entries/uefi-shell-v2-x86_64.conf delete mode 100644 configs/mate/efiboot/loader/loader.conf delete mode 100644 configs/mate/isolinux/isolinux.cfg delete mode 100644 configs/mate/mkinitcpio.conf delete mode 100644 configs/mate/packages.both delete mode 100644 configs/mate/packages.i686 delete mode 100644 configs/mate/packages.x86_64 delete mode 100644 configs/mate/pacman.conf delete mode 100644 configs/mate/root-image/etc/fstab delete mode 100644 configs/mate/root-image/etc/hostname delete mode 100644 configs/mate/root-image/etc/locale.conf delete mode 100644 configs/mate/root-image/etc/motd delete mode 100644 configs/mate/root-image/etc/pam.d/su delete mode 100644 configs/mate/root-image/etc/skel/.config/caja/accels delete mode 100644 configs/mate/root-image/etc/skel/.config/caja/desktop-metadata delete mode 100644 configs/mate/root-image/etc/skel/.config/dconf/user delete mode 100644 configs/mate/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini delete mode 100644 configs/mate/root-image/etc/skel/.config/volumeicon/volumeicon delete mode 100644 configs/mate/root-image/etc/skel/.directory delete mode 100644 configs/mate/root-image/etc/sudoers.d/g_wheel delete mode 100755 configs/mate/root-image/etc/systemd/scripts/choose-mirror delete mode 100644 configs/mate/root-image/etc/systemd/system/choose-mirror.service delete mode 100644 configs/mate/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount delete mode 100644 configs/mate/root-image/etc/systemd/system/getty@tty1.service.d/autologin.conf delete mode 100644 configs/mate/root-image/etc/systemd/system/pacman-init.service delete mode 100644 configs/mate/root-image/etc/udev/rules.d/81-dhcpcd.rules delete mode 100644 configs/mate/root-image/etc/wallpaper.png delete mode 100755 configs/mate/root-image/root/.automated_script.sh delete mode 100644 configs/mate/root-image/root/.codecheck delete mode 100644 configs/mate/root-image/root/.config/autostart/.language.sh.desktop delete mode 100644 configs/mate/root-image/root/.config/caja/accels delete mode 100644 configs/mate/root-image/root/.config/caja/desktop-metadata delete mode 100644 configs/mate/root-image/root/.config/dconf/user delete mode 100644 configs/mate/root-image/root/.config/gtk-2.0/gtkfilechooser.ini delete mode 100644 configs/mate/root-image/root/.config/volumeicon/volumeicon delete mode 100644 configs/mate/root-image/root/.directory delete mode 100755 configs/mate/root-image/root/.language.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/en/systemConfig.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/en/userAccount.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/es/systemConfig.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/pt/userAccount.sh delete mode 100644 configs/mate/root-image/root/.scriptsInstallation/parabolaicon.png delete mode 100755 configs/mate/root-image/root/.scriptsInstallation/x11.sh delete mode 100644 configs/mate/root-image/root/.themes/Parabola/index.theme delete mode 100644 configs/mate/root-image/root/.xinitrc delete mode 100644 configs/mate/root-image/root/.zlogin delete mode 100644 configs/mate/root-image/root/Desktop/Parabola Installation CLI.desktop delete mode 100755 configs/mate/root-image/root/customize_root_image.sh delete mode 100644 configs/mate/syslinux/parabolaiso.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_head.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_pxe32.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_pxe64.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_pxe_32_inc.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_pxe_both_inc.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_pxe_choose.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_sys32.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_sys64.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_sys_32_inc.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_sys_both_inc.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_sys_choose.cfg delete mode 100644 configs/mate/syslinux/parabolaiso_tail.cfg delete mode 100644 configs/mate/syslinux/splash.png delete mode 100644 configs/mate/syslinux/splash.svg delete mode 100644 configs/mate/syslinux/syslinux.cfg diff --git a/configs/lxde-openrc/aitab b/configs/lxde-openrc/aitab new file mode 100644 index 0000000..b7e9a17 --- /dev/null +++ b/configs/lxde-openrc/aitab @@ -0,0 +1,3 @@ +# +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 new file mode 100755 index 0000000..98a61eb --- /dev/null +++ b/configs/lxde-openrc/build.sh @@ -0,0 +1,261 @@ +#!/bin/bash + +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" +install_dir=parabola +work_dir=work +out_dir=out +data_dir=/usr/share/parabolaiso/data + +arch=$(uname -m) +verbose="" +pacman_conf=${work_dir}/pacman.conf +script_path=$(readlink -f ${0%/*}) +initcpio_dir=${script_path}/../../parabolaiso/initcpio + +_usage () +{ + echo "usage ${0} [options]" + echo + echo " General options:" + echo " -N Set an iso filename (prefix)" + echo " Default: ${iso_name}" + echo " -V Set an iso version (in filename)" + echo " Default: ${iso_version}" + echo " -L Set an iso label (disk label)" + echo " Default: ${iso_label}" + echo " -D Set an install_dir (directory inside iso)" + echo " Default: ${install_dir}" + echo " -w Set the working directory" + echo " Default: ${work_dir}" + echo " -o Set the output directory" + echo " Default: ${out_dir}" + echo " -v Enable verbose output" + echo " -h This help message" + exit ${1} +} + +# Helper function to run make_*() only one time per architecture. +run_once() { + if [[ ! -e ${work_dir}/build.${1}_${arch} ]]; then + $1 + touch ${work_dir}/build.${1}_${arch} + fi +} + +# Setup custom pacman.conf with current cache directories. +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} +} + +# Base installation, plus needed packages (root-image) +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 +} + +# Additional packages (root-image) +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 +} + +# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image) +make_setup_mkinitcpio() { + local _hook + 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 + 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 +} + +# Customize installation (root-image) +make_customize_root_image() { + cp -af ${script_path}/root-image ${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 +} + +# 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 +} + +# 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 +} + +# Prepare /${install_dir}/boot/syslinux +make_syslinux() { + mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux + for _cfg in ${script_path}/syslinux/*.cfg; do + sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; + 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 + 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 + + # inject edition title + sed -i "s|_EDITION_TITLE_|${iso_title}|" ${work_dir}/iso/${install_dir}/boot/syslinux/parabolaiso_head.cfg +} + +# Prepare /isolinux +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/ +} + +# Prepare /EFI +make_efi() { + mkdir -p ${work_dir}/iso/EFI/boot + + mkdir -p ${work_dir}/iso/loader/entries + cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/ + cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/iso/loader/entries/ + cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/iso/loader/entries/ + + sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; + 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 +} + +# 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 + + mkdir -p ${work_dir}/efiboot + mount ${work_dir}/iso/EFI/parabolaiso/efiboot.img ${work_dir}/efiboot + + mkdir -p ${work_dir}/efiboot/EFI/parabolaiso + cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/parabolaiso/vmlinuz.efi + 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 + + mkdir -p ${work_dir}/efiboot/loader/entries + cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/ + cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/efiboot/loader/entries/ + cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/efiboot/loader/entries/ + + sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; + s|%INSTALL_DIR%|${install_dir}|g" \ + ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-cd.conf > ${work_dir}/efiboot/loader/entries/parabolaiso-x86_64.conf + + 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 +} + +# 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) +make_prepare() { + cp -a -l -f ${work_dir}/${arch}/root-image ${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) +} + +# 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" +} + +if [[ ${EUID} -ne 0 ]]; then + echo "This script must be run as root." + _usage 1 +fi + +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + +while getopts 'N:V:L:D:w:o:vh' arg; do + case "${arg}" in + N) iso_name="${OPTARG}" ;; + V) iso_version="${OPTARG}" ;; + L) iso_label="${OPTARG}" ;; + D) install_dir="${OPTARG}" ;; + w) work_dir="${OPTARG}" ;; + o) out_dir="${OPTARG}" ;; + v) verbose="-v" ;; + h) _usage 0 ;; + *) + echo "Invalid argument '${arg}'" + _usage 1 + ;; + esac +done + +mkdir -p ${work_dir} + +run_once make_pacman_conf + +# Do all stuff for each root-image +for arch in i686 x86_64; do + run_once make_basefs + run_once make_packages + run_once make_setup_mkinitcpio + run_once make_customize_root_image +done + +for arch in i686 x86_64; do + run_once make_boot +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 +done + +run_once make_iso diff --git a/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf b/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf new file mode 100644 index 0000000..057e14f --- /dev/null +++ b/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf @@ -0,0 +1,4 @@ +title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI CD +linux /EFI/parabolaiso/vmlinuz.efi +initrd /EFI/parabolaiso/parabolaiso.img +options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf b/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf new file mode 100644 index 0000000..3863799 --- /dev/null +++ b/configs/lxde-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf @@ -0,0 +1,4 @@ +title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI USB +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz +initrd /%INSTALL_DIR%/boot/x86_64/parabolaiso.img +options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf b/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf new file mode 100644 index 0000000..9597ff2 --- /dev/null +++ b/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf @@ -0,0 +1,2 @@ +title UEFI Shell x86_64 v1 +efi /EFI/shellx64_v1.efi diff --git a/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf b/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf new file mode 100644 index 0000000..0dde77a --- /dev/null +++ b/configs/lxde-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf @@ -0,0 +1,2 @@ +title UEFI Shell x86_64 v2 +efi /EFI/shellx64_v2.efi diff --git a/configs/lxde-openrc/efiboot/loader/loader.conf b/configs/lxde-openrc/efiboot/loader/loader.conf new file mode 100644 index 0000000..ba02c50 --- /dev/null +++ b/configs/lxde-openrc/efiboot/loader/loader.conf @@ -0,0 +1,2 @@ +timeout 3 +default parabolaiso-x86_64 diff --git a/configs/lxde-openrc/isolinux/isolinux.cfg b/configs/lxde-openrc/isolinux/isolinux.cfg new file mode 100644 index 0000000..10472fb --- /dev/null +++ b/configs/lxde-openrc/isolinux/isolinux.cfg @@ -0,0 +1,6 @@ +PATH /%INSTALL_DIR%/boot/syslinux/ +DEFAULT loadconfig + +LABEL loadconfig + CONFIG /%INSTALL_DIR%/boot/syslinux/parabolaiso.cfg + APPEND /%INSTALL_DIR%/ diff --git a/configs/lxde-openrc/mkinitcpio.conf b/configs/lxde-openrc/mkinitcpio.conf new file mode 100644 index 0000000..fc2572b --- /dev/null +++ b/configs/lxde-openrc/mkinitcpio.conf @@ -0,0 +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" +COMPRESSION="xz" diff --git a/configs/lxde-openrc/packages.both b/configs/lxde-openrc/packages.both new file mode 100644 index 0000000..15fc362 --- /dev/null +++ b/configs/lxde-openrc/packages.both @@ -0,0 +1,176 @@ +#Base +arch-install-scripts +btrfs-progs +crda +darkhttpd +ddrescue +dhclient +dialog +dmraid +dnsmasq +dnsutils +dosfstools +elinks +ethtool +f2fs-tools +fsarchiver +gnu-netcat +gpm-openrc +gptfdisk +grml-zsh-config +grub +haveged-openrc +hdparm-openrc +irssi +lftp +linux-atm +lynx +mc +mtools +nfs-utils +nilfs-utils +nmap +ntfs-3g +ntp-openrc +openconnect +openssh-openrc +openvpn-openrc +partclone +parted +partimage +pptpclient +ppp +rfkill +rp-pppoe +rsync-openrc +smartmontools +sudo +tcpdump +testdisk +usb_modeswitch +vpnc +wget +wireless_tools +wpa_actiond +wpa_supplicant-openrc +zile +wvdial +xl2tpd +zsh + +#X11 +xorg-server +xf86-video-amdgpu +xf86-video-ati +xf86-video-dummy +xf86-video-fbdev +xf86-video-intel +xf86-video-nouveau +xf86-video-openchrome +xf86-video-sisusb +xf86-video-vesa +xf86-video-vmware +xf86-video-voodoo +xf86-video-qxl +xorg-xinit + + +#Plugins +gst-plugins-good +gst-libav + + +#Window Manager +# lxde, except lxdm +gpicview +lxappearance +lxappearance-obconf +lxde-common +lxde-icon-theme +lxhotkey +lxinput +lxlauncher +lxmusic +lxpanel +lxrandr +lxsession +lxtask +lxterminal +openbox +pcmanfm +obconf +gksu +ambiance-radiance-colors-suite +rave-x-colors +gvfs-mtp +gvfs-gphoto2 +xdg-user-dirs +gnome-screenshot + + +#Sound +pulseaudio-alsa +alsa-utils + + +#Network +networkmanager-elogind +network-manager-applet +ath9k-htc-firmware +gnome-keyring + + +#Programs +octopi +octopi-cachecleaner +octopi-repoeditor +# octopi-notifier - TODO: icon does not appear in LXDE systray until 2nd 'startx' +# knotifications - TODO: https://labs.parabola.nu/issues/1377 +iceweasel +icedove +pidgin +linphone +qtox +ring-client-gnome +gparted +smplayer +epdfview +abiword +gnumeric +leafpad +galculator-gtk2 +xarchiver +dmidecode +xscreensaver +zenity + + +#Compressor/archiver +p7zip +unar +unzip +zip + + +#Fonts +ttf-dejavu + + +#Languages +iceweasel-l10n-es-es +icedove-l10n-es-es +iceweasel-l10n-gl +icedove-l10n-gl +iceweasel-l10n-pt-br +icedove-l10n-pt-br +iceweasel-l10n-pl +icedove-l10n-pl +iceweasel-l10n-it +icedove-l10n-it +iceweasel-l10n-fr +icedove-l10n-fr +iceweasel-l10n-eo + +#OpenRC +openrc-desktop +polkit-elogind diff --git a/configs/lxde-openrc/packages.i686 b/configs/lxde-openrc/packages.i686 new file mode 100644 index 0000000..e69de29 diff --git a/configs/lxde-openrc/packages.x86_64 b/configs/lxde-openrc/packages.x86_64 new file mode 100644 index 0000000..804cc93 --- /dev/null +++ b/configs/lxde-openrc/packages.x86_64 @@ -0,0 +1 @@ +refind-efi diff --git a/configs/lxde-openrc/pacman.conf b/configs/lxde-openrc/pacman.conf new file mode 100644 index 0000000..03f449f --- /dev/null +++ b/configs/lxde-openrc/pacman.conf @@ -0,0 +1,104 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +#UseDelta = 0.7 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#TotalDownload +# We cannot check disk space from within a chroot environment +#CheckSpace +#VerbosePkgLists + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all Arch/Parabola packagers +# with `pacman-key --populate archlinux` and `pacman-key --populate parabola`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[libre-testing] +#Include = /etc/pacman.d/mirrorlist + +[libre] +Include = /etc/pacman.d/mirrorlist + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +#[pcr-testing] +#Include = /etc/pacman.d/mirrorlist + +[pcr] +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 b/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 new file mode 100644 index 0000000..b7ff06d --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/conf.d/agetty.tty1 @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a701f0c --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/conf.d/hostname @@ -0,0 +1,2 @@ +# Set to the hostname of this machine +hostname="parabolaiso" diff --git a/configs/lxde-openrc/root-image/etc/fstab b/configs/lxde-openrc/root-image/etc/fstab new file mode 100644 index 0000000..e69de29 diff --git a/configs/lxde-openrc/root-image/etc/init.d/pacman-init b/configs/lxde-openrc/root-image/etc/init.d/pacman-init new file mode 100755 index 0000000..b610683 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/init.d/pacman-init @@ -0,0 +1,31 @@ +#!/usr/bin/openrc-run +# Copyright (C) 2017 Parabola Project +# Copyright (C) Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Initializes Pacman keyring" + +depend() { + use haveged + after haveged +} + +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 + else + 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 + fi +} diff --git a/configs/lxde-openrc/root-image/etc/locale.conf b/configs/lxde-openrc/root-image/etc/locale.conf new file mode 100644 index 0000000..01ec548 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/locale.conf @@ -0,0 +1 @@ +LANG=en_US.UTF-8 diff --git a/configs/lxde-openrc/root-image/etc/motd b/configs/lxde-openrc/root-image/etc/motd new file mode 100644 index 0000000..e4ff560 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/motd @@ -0,0 +1,13 @@ + +=============================================================================== + + Parabola GNU/Linux-libre Live _DATE_ + + To install Parabola, the system must be connected to the internet. + For installation itself, enter this command: + ./install.sh + + Press the function keys while holding Alt to switch virtual terminals. + +=============================================================================== + diff --git a/configs/lxde-openrc/root-image/etc/pam.d/su b/configs/lxde-openrc/root-image/etc/pam.d/su new file mode 100644 index 0000000..a291042 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/pam.d/su @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth sufficient pam_wheel.so trust use_uid +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so diff --git a/configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf b/configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf new file mode 100644 index 0000000..c50f484 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/skel/.config/lxsession/LXDE/desktop.conf @@ -0,0 +1,48 @@ +[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/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf b/configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf new file mode 100644 index 0000000..6186fce --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/skel/.config/pcmanfm/LXDE/desktop-items-0.conf @@ -0,0 +1,14 @@ +[*] +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/etc/sudoers.d/g_wheel b/configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..8c45359 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: ALL 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 new file mode 100644 index 0000000..970da69 --- /dev/null +++ b/configs/lxde-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" diff --git a/configs/lxde-openrc/root-image/etc/wallpaper.png b/configs/lxde-openrc/root-image/etc/wallpaper.png new file mode 100644 index 0000000..d2a3927 Binary files /dev/null and b/configs/lxde-openrc/root-image/etc/wallpaper.png differ diff --git a/configs/lxde-openrc/root-image/root/.automated_script.sh b/configs/lxde-openrc/root-image/root/.automated_script.sh new file mode 100755 index 0000000..fb106da --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.automated_script.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +script_cmdline () +{ + local param + for param in $(< /proc/cmdline); do + case "${param}" in + script=*) echo "${param##*=}" ; return 0 ;; + esac + done +} + +automated_script () +{ + local script rt + script="$(script_cmdline)" + if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then + if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then + wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null + rt=$? + else + cp "${script}" /tmp/startup_script + rt=$? + fi + if [[ ${rt} -eq 0 ]]; then + chmod +x /tmp/startup_script + /tmp/startup_script + fi + fi +} + +if [[ $(tty) == "/dev/tty1" ]]; then + automated_script +fi diff --git a/configs/lxde-openrc/root-image/root/.codecheck b/configs/lxde-openrc/root-image/root/.codecheck new file mode 100644 index 0000000..8b10d0c --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.codecheck @@ -0,0 +1,2 @@ +LANG=0 +XKBMAP=0 diff --git a/configs/lxde-openrc/root-image/root/.config/dconf/user b/configs/lxde-openrc/root-image/root/.config/dconf/user new file mode 100644 index 0000000..dab7f59 Binary files /dev/null and b/configs/lxde-openrc/root-image/root/.config/dconf/user differ diff --git a/configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini b/configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 0000000..c6b458d --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini @@ -0,0 +1,11 @@ +[Filechooser Settings] +LocationMode=path-bar +ShowHidden=true +ShowSizeColumn=true +GeometryX=52 +GeometryY=86 +GeometryWidth=920 +GeometryHeight=585 +SortColumn=name +SortOrder=ascending +StartupMode=recent diff --git a/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart b/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart new file mode 100644 index 0000000..3942b5a --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/autostart @@ -0,0 +1,4 @@ +@lxpanel --profile LXDE +@pcmanfm --desktop --profile LXDE +@xscreensaver -no-splash +@/root/.keymap.sh 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 new file mode 100644 index 0000000..c50f484 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.config/lxsession/LXDE/desktop.conf @@ -0,0 +1,48 @@ +[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 new file mode 100644 index 0000000..6186fce --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.config/pcmanfm/LXDE/desktop-items-0.conf @@ -0,0 +1,14 @@ +[*] +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/.config/volumeicon/volumeicon b/configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon new file mode 100644 index 0000000..588b9dd --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.config/volumeicon/volumeicon @@ -0,0 +1,25 @@ +[Alsa] +card=default + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=Default +use_panel_specific_icons=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/configs/lxde-openrc/root-image/root/.keymap.sh b/configs/lxde-openrc/root-image/root/.keymap.sh new file mode 100755 index 0000000..56eb1dc --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.keymap.sh @@ -0,0 +1,116 @@ +#!/bin/bash + +list_keymaps() { +cat <> ~/.codecheck +fi diff --git a/configs/lxde-openrc/root-image/root/.language.sh b/configs/lxde-openrc/root-image/root/.language.sh new file mode 100755 index 0000000..11e986e --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.language.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +#Comprobe if language was selected +code=$(cat ~/.codecheck | grep LANG= | tail --bytes 2) +if [ $code = "0" ]; then + lang=$(dialog --stdout --backtitle "System language selection" --menu "Choose your language:" 15 40 10 \ + "en_US.UTF-8" "English" \ + "gl_ES.UTF-8" "Galego" \ + "es_ES.UTF-8" "Spanish" \ + "pt_BR.UTF-8" "Brazilian Portuguese" \ + "pl_PL.UTF-8" "Polish" \ + "it_IT.UTF-8" "Italian" \ + "fr_FR.UTF-8" "French" \ + "eo" "Esperanto") + + #Copy locale in locale.conf + [ $lang = "" ] || echo "LANG=$lang" > /etc/locale.conf + + #Put a new line confirm that language was selected + sed -i '/LANG=./d' ~/.codecheck + echo "LANG=1" >> ~/.codecheck + + #Copy scripts to install in that language + case ${lang/_*/} in + en|gl|es|pt) cp -a ~/.scriptsInstallation/language/${lang/_*/}/* ~/.scriptsInstallation/ + cp ~/.scriptsInstallation/install.sh ~/ + ;; + *) cp -a ~/.scriptsInstallation/language/en/* ~/.scriptsInstallation/ + cp ~/.scriptsInstallation/install.sh ~/ + ;; + esac +fi diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh new file mode 100755 index 0000000..4120079 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/install.sh @@ -0,0 +1,227 @@ +#!/bin/bash +#Temporal is a file that contains parameters to use when access to chroot + +if [ ! -f ~/.scriptsInstallation/.pacman ]; then + pacman -Sy parabola-keyring archlinux-keyring --noconfirm + pacman-key --populate parabola archlinux + pacman-key --refresh-keys + case $? in + 0) touch ~/.scriptsInstallation/.pacman + ;; + *) false + ;; + esac +fi + +partition(){ + + #Search and show the Hard Disks to select + aux=$(ls /dev/sd?) + index=0 + for i in $aux; do + hdds[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + hdd=$(dialog --stdout --radiolist "Select Hard Disk" 20 70 50 ${hdds[@]}) + + #If exist the line delete + if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null + then + sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal + fi + + #And add the new line with new parameter + echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal + + selection=$(dialog --stdout --menu "Partitioning method" 20 70 50 \ + 1 "Use all disk with swap (1GB) and /" \ + 2 "Use gparted to customize" ) + + case $selection in + 1) + umount /mnt &> /dev/null + #Create msdos partition table + parted -s $hdd -- mklabel msdos + + #Create partition swap and / + parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s + + #Boot option partition / + parted -s $hdd -- set 2 boot on + + #Format and partitions and mount / + (echo t; echo 1; echo 82; echo w) | fdisk $hdd + mkswap ${hdd}1 + mkfs.ext4 ${hdd}2 + mount ${hdd}2 /mnt + ;; + 2) + gparted $hdd + + #Search and show the partitions that select before. + aux=$(ls $hdd?) + index=0; + for i in $aux; do + partitions[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + partition=$(dialog --stdout --radiolist "Mount / Partition" 20 70 50 ${partitions[@]}) + + #Mount partition / + umount /mnt &> /dev/null + mount $partition /mnt + + #Ask if you want mount other partitions + other=0 + while [ $other != 3 ]; do + other=$(dialog --stdout --menu "Mount other partition?" 20 70 50 1 "/home" 2 "/boot" 3 "No") + + case $other in + 1) + umount /mnt/home &> /dev/null + mkdir /mnt/home &> /dev/null + mount $(dialog --stdout --radiolist "Mount /home Partition" 20 70 50 ${partitions[@]}) /mnt/home + ;; + 2) + umount /mnt/boot &> /dev/null + mkdir /mnt/boot &> /dev/null + mount $(dialog --stdout --radiolist "Mount /boot Partition" 20 70 50 ${partitions[@]}) /mnt/boot + ;; + *) + other=3 + ;; + esac + done + ;; + esac +} + + +option=0 +while [ option != 7 ]; do + option=$(dialog --stdout --menu "Parabola Installation CLI" 20 70 50 \ + 1 "Format and Mount Partitions" \ + 2 "Install Base System" \ + 3 "Install GRUB" \ + 4 "System Configure" \ + 5 "Create User Account" \ + 6 "(Optional) Install Live DVD Desktop/Applications" \ + 7 "Exit" ) + + case $option in + 1) + partition + ;; + 2) + #Install base system + pacstrap /mnt base-openrc + pacstrap /mnt dialog + ;; + 3) + #Install grub + pacstrap /mnt grub + ;; + 4) + #Generate fstab and acces to chroot to do System Config + genfstab -p /mnt >> /mnt/etc/fstab + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/systemConfig.sh /mnt + chmod +x /mnt/systemConfig.sh + arch-chroot /mnt /systemConfig.sh + rm -r /mnt/systemConfig.sh + ;; + 5) + #Create a new username and save in temporal, to use after + if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null + then + sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal + fi + + echo "userName=$(dialog --stdout --inputbox "Enter an User Name" 8 40)" >> ~/.scriptsInstallation/temporal + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/userAccount.sh /mnt + chmod +x /mnt/userAccount.sh + arch-chroot /mnt /userAccount.sh + rm -r /mnt/userAccount.sh + ;; + 6) + #Packages to the X11 live + packages=( "xorg-server" + "xf86-input-evdev" + "xf86-input-synaptics" + "xf86-video-ati" + "xf86-video-dummy" + "xf86-video-fbdev" + "xf86-video-intel" + "xf86-video-nouveau" + "xf86-video-openchrome" + "xf86-video-sisusb" + "xf86-video-vesa" + "xf86-video-vmware" + "xf86-video-voodoo" + "xf86-video-qxl" + "xorg-xinit" + "gst-plugins-good" + "gst-libav" + "lxde" + "volumeicon" + "zenity" + "octopi" + "pulseaudio-alsa" + "alsa-utils" + "networkmanager-elogind" + "network-manager-applet" + "ath9k-htc-firmware" + "iceweasel" + "icedove" + "pidgin" + "gparted" + "smplayer" + "epdfview" + "gpicview" + "abiword" + "gnumeric" + "leafpad" + "galculator-gtk2" + "xarchiver" + "openrc-desktop" + "polkit-elogind" + "gvfs-mtp" + "gvfs-gphoto2" + "xdg-user-dirs" + "gnome-screenshot" + ) + + #Install packages + pacman -Sy -r /mnt ${packages[@]} --needed --noconfirm + user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) + + #Copy skel in the new system and desktop's background + cp -a /etc/skel/ /mnt/etc/ + cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + + #Puts the XKBMAP, start X11 automatically and icewm desktop + echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc + echo "exec startlxde" >> /mnt/etc/skel/.xinitrc + echo "startx" >> /mnt/etc/skel/.bash_profile + chmod +x /mnt/etc/skel/.xinitrc + cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ + cp -a ~/.scriptsInstallation/x11.sh /mnt + + #Enable services with OpenRC and configure other stuff + chmod +x /mnt/x11.sh + arch-chroot /mnt /x11.sh + rm /mnt/x11.sh + ;; + *) + #Delete temporal file and umount partitions + rm -r /mnt/temporal + umount /mnt/boot &> /dev/null + umount /mnt/home &> /dev/null + umount /mnt &> /dev/null + exit + ;; + esac +done diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh new file mode 100755 index 0000000..d5195fb --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh @@ -0,0 +1,271 @@ +#!/bin/bash + +HOSTNAME=$(dialog --stdout --inputbox "Enter Hostname:" 8 40) +sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname + +ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Enter your Zone Time:\nFor example: Europe/Athens" 8 40) /etc/localtime + +keymaps=( + "ANSI-dvorak ANSI-dvorak off" + "amiga-de amiga-de off" + "amiga-us amiga-us off" + "applkey applkey off" + "atari-de atari-de off" + "atari-se atari-se off" + "atari-uk-falcon atari-uk-falcon off" + "atari-us atari-us off" + "azerty azerty off" + "backspace backspace off" + "bashkir bashkir off" + "be-latin1 be-latin1 off" + "bg-cp1251 bg-cp1251 off" + "bg-cp855 bg-cp855 off" + "bg_bds-cp1251 bg_bds-cp1251 off" + "bg_bds-utf8 bg_bds-utf8 off" + "bg_pho-cp1251 bg_pho-cp1251 off" + "bg_pho-utf8 bg_pho-utf8 off" + "br-abnt br-abnt off" + "br-abnt2 br-abnt2 off" + "br-latin1-abnt2 br-latin1-abnt2 off" + "br-latin1-us br-latin1-us off" + "by by off" + "by-cp1251 by-cp1251 off" + "bywin-cp1251 bywin-cp1251 off" + "cf cf off" + "colemak colemak off" + "croat croat off" + "ctrl ctrl off" + "cz cz off" + "cz-cp1250 cz-cp1250 off" + "cz-lat2 cz-lat2 off" + "cz-lat2-prog cz-lat2-prog off" + "cz-qwertz cz-qwertz off" + "cz-us-qwertz cz-us-qwertz off" + "de de off" + "de-latin1 de-latin1 off" + "de-latin1-nodeadkeys de-latin1-nodeadkeys off" + "de-mobii de-mobii off" + "de_CH-latin1 de_CH-latin1 off" + "de_alt_UTF-8 de_alt_UTF-8 off" + "defkeymap defkeymap off" + "defkeymap_V1.0 defkeymap_V1.0 off" + "dk dk off" + "dk-latin1 dk-latin1 off" + "dvorak dvorak off" + "dvorak-ca-fr dvorak-ca-fr off" + "dvorak-es dvorak-es off" + "dvorak-fr dvorak-fr off" + "dvorak-l dvorak-l off" + "dvorak-r dvorak-r off" + "dvorak-ru dvorak-ru off" + "dvorak-sv-a1 dvorak-sv-a1 off" + "dvorak-sv-a5 dvorak-sv-a5 off" + "dvorak-uk dvorak-uk off" + "emacs emacs off" + "emacs2 emacs2 off" + "es es off" + "es-cp850 es-cp850 off" + "es-olpc es-olpc off" + "et et off" + "et-nodeadkeys et-nodeadkeys off" + "euro euro off" + "euro1 euro1 off" + "euro2 euro2 off" + "fi fi off" + "fr fr off" + "fr-bepo fr-bepo off" + "fr-bepo-latin9 fr-bepo-latin9 off" + "fr-latin1 fr-latin1 off" + "fr-latin9 fr-latin9 off" + "fr-pc fr-pc off" + "fr_CH fr_CH off" + "fr_CH-latin1 fr_CH-latin1 off" + "gr gr off" + "gr-pc gr-pc off" + "hu hu off" + "hu101 hu101 off" + "il il off" + "il-heb il-heb off" + "il-phonetic il-phonetic off" + "is-latin1 is-latin1 off" + "is-latin1-us is-latin1-us off" + "it it off" + "it-ibm it-ibm off" + "it2 it2 off" + "jp106 jp106 off" + "kazakh kazakh off" + "keypad keypad off" + "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" + "kyrgyz kyrgyz off" + "la-latin1 la-latin1 off" + "lt lt off" + "lt.baltic lt.baltic off" + "lt.l4 lt.l4 off" + "lv lv off" + "lv-tilde lv-tilde off" + "mac-be mac-be off" + "mac-de-latin1 mac-de-latin1 off" + "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" + "mac-de_CH mac-de_CH off" + "mac-dk-latin1 mac-dk-latin1 off" + "mac-dvorak mac-dvorak off" + "mac-es mac-es off" + "mac-euro mac-euro off" + "mac-euro2 mac-euro2 off" + "mac-fi-latin1 mac-fi-latin1 off" + "mac-fr mac-fr off" + "mac-fr_CH-latin1 mac-fr_CH-latin1 off" + "mac-it mac-it off" + "mac-pl mac-pl off" + "mac-pt-latin1 mac-pt-latin1 off" + "mac-se mac-se off" + "mac-template mac-template off" + "mac-uk mac-uk off" + "mac-us mac-us off" + "mk mk off" + "mk-cp1251 mk-cp1251 off" + "mk-utf mk-utf off" + "mk0 mk0 off" + "nl nl off" + "nl2 nl2 off" + "no no off" + "no-dvorak no-dvorak off" + "no-latin1 no-latin1 off" + "pc110 pc110 off" + "pl pl off" + "pl1 pl1 off" + "pl2 pl2 off" + "pl3 pl3 off" + "pl4 pl4 off" + "pt-latin1 pt-latin1 off" + "pt-latin9 pt-latin9 off" + "pt-olpc pt-olpc off" + "ro ro off" + "ro_std ro_std off" + "ro_win ro_win off" + "ru ru off" + "ru-cp1251 ru-cp1251 off" + "ru-ms ru-ms off" + "ru-yawerty ru-yawerty off" + "ru1 ru1 off" + "ru2 ru2 off" + "ru3 ru3 off" + "ru4 ru4 off" + "ru_win ru_win off" + "ruwin_alt-CP1251 ruwin_alt-CP1251 off" + "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" + "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" + "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" + "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" + "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" + "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" + "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" + "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" + "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" + "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" + "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" + "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" + "se-fi-ir209 se-fi-ir209 off" + "se-fi-lat6 se-fi-lat6 off" + "se-ir209 se-ir209 off" + "se-lat6 se-lat6 off" + "sg sg off" + "sg-latin1 sg-latin1 off" + "sg-latin1-lk450 sg-latin1-lk450 off" + "sk-prog-qwerty sk-prog-qwerty off" + "sk-prog-qwertz sk-prog-qwertz off" + "sk-qwerty sk-qwerty off" + "sk-qwertz sk-qwertz off" + "slovene slovene off" + "sr-cy sr-cy off" + "sun-pl sun-pl off" + "sun-pl-altgraph sun-pl-altgraph off" + "sundvorak sundvorak off" + "sunkeymap sunkeymap off" + "sunt4-es sunt4-es off" + "sunt4-fi-latin1 sunt4-fi-latin1 off" + "sunt4-no-latin1 sunt4-no-latin1 off" + "sunt5-cz-us sunt5-cz-us off" + "sunt5-de-latin1 sunt5-de-latin1 off" + "sunt5-es sunt5-es off" + "sunt5-fi-latin1 sunt5-fi-latin1 off" + "sunt5-fr-latin1 sunt5-fr-latin1 off" + "sunt5-ru sunt5-ru off" + "sunt5-uk sunt5-uk off" + "sunt5-us-cz sunt5-us-cz off" + "sunt6-uk sunt6-uk off" + "sv-latin1 sv-latin1 off" + "tj_alt-UTF8 tj_alt-UTF8 off" + "tr_f-latin5 tr_f-latin5 off" + "tr_q-latin5 tr_q-latin5 off" + "tralt tralt off" + "trf trf off" + "trf-fgGIod trf-fgGIod off" + "trq trq off" + "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" + "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" + "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" + "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" + "ua ua off" + "ua-cp1251 ua-cp1251 off" + "ua-utf ua-utf off" + "ua-utf-ws ua-utf-ws off" + "ua-ws ua-ws off" + "uk uk off" + "unicode unicode off" + "us us on" + "us-acentos us-acentos off" + "wangbe wangbe off" + "wangbe2 wangbe2 off" + "windowkeys windowkeys off" +) + +echo "KEYMAP=$(dialog --stdout --radiolist "Select Keymap" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf + +aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) +index=0 +for i in $aux; do + i=$(echo $i | sed -e 's/#/ /g') + locales+=("$i" "$i" off) + if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then + locales[$index]="$i" + locales[$((index+1))]="$i" + locales[$((index+2))]="on" + fi + index=$((index+3)) +done + +locale=$(dialog --stdout --checklist "Select Locales" 20 70 50 "${locales[@]}") +locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') + +for i in ${locale[@]}; do + i=$(echo $i | sed -e 's/#/ /g') + sed -i -e "s/#$i/$i/g" /etc/locale.gen +done + +locale-gen + +aux=$(locale -a) +index=0 +for i in $aux; do + langs+=("$i" "$i" on) + index=$((index+1)) +done + +echo "LANG=$(dialog --stdout --radiolist "Select your language" 20 70 50 ${langs[@]})" > /etc/locale.conf + +mkinitcpio -p linux-libre + +hdd=$(cat /temporal | grep 'hdd=') +grub-install ${hdd#*=} +grub-mkconfig -o /boot/grub/grub.cfg + +password=$(dialog --stdout --passwordbox "Insert root password" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repeat root password" 8 40) +done + +usermod -p $(openssl passwd ${password}) root + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh new file mode 100755 index 0000000..a9551d8 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +user=$(cat /temporal | grep "userName") + +password=$(dialog --stdout --passwordbox "Insert ${user#*=} password" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Reply password" 8 40) +done + +useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh new file mode 100755 index 0000000..195c2a2 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/install.sh @@ -0,0 +1,227 @@ +#!/bin/bash +#Temporal is a file that contains parameters to use when access to chroot + +if [ ! -f ~/.scriptsInstallation/.pacman ]; then + pacman -Sy parabola-keyring archlinux-keyring --noconfirm + pacman-key --populate parabola archlinux + pacman-key --refresh-keys + case $? in + 0) touch ~/.scriptsInstallation/.pacman + ;; + *) false + ;; + esac +fi + +partition(){ + + #Search and show the Hard Disks to select + aux=$(ls /dev/sd?) + index=0 + for i in $aux; do + hdds[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) + + #If exist the line delete + if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null + then + sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal + fi + + #And add the new line with new parameter + echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal + + selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ + 1 "Usar todo el disco con swap (1GB) y /" \ + 2 "Usar gparted para personalizar" ) + + case $selection in + 1) + umount /mnt &> /dev/null + #Create msdos partition table + parted -s $hdd -- mklabel msdos + + #Create partition swap and / + parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s + + #Boot option partition / + parted -s $hdd -- set 2 boot on + + #Format and partitions and mount / + (echo t; echo 1; echo 82; echo w) | fdisk $hdd + mkswap ${hdd}1 + mkfs.ext4 ${hdd}2 + mount ${hdd}2 /mnt + ;; + 2) + gparted $hdd + + #Search and show the partitions that select before. + aux=$(ls $hdd?) + index=0; + for i in $aux; do + partitions[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) + + #Mount partition / + umount /mnt &> /dev/null + mount $partition /mnt + + #Ask if you want mount other partitions + other=0 + while [ $other != 3 ]; do + other=$(dialog --stdout --menu "¿Montar otra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") + + case $other in + 1) + umount /mnt/home &> /dev/null + mkdir /mnt/home &> /dev/null + mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home + ;; + 2) + umount /mnt/boot &> /dev/null + mkdir /mnt/boot &> /dev/null + mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot + ;; + *) + other=3 + ;; + esac + done + ;; + esac +} + + +option=0 +while [ option != 7 ]; do + option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ + 1 "Formatear y Montar Particiones" \ + 2 "Instalar Sistema Base" \ + 3 "Instalar GRUB" \ + 4 "ConfiguraciĂ³n del Sistema" \ + 5 "Crear Cuenta de Usuario" \ + 6 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \ + 7 "Salir" ) + + case $option in + 1) + partition + ;; + 2) + #Install base system + pacstrap /mnt base-openrc + pacstrap /mnt dialog + ;; + 3) + #Install grub + pacstrap /mnt grub + ;; + 4) + #Generate fstab and acces to chroot to do System Config + genfstab -p /mnt >> /mnt/etc/fstab + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/systemConfig.sh /mnt + chmod +x /mnt/systemConfig.sh + arch-chroot /mnt /systemConfig.sh + rm -r /mnt/systemConfig.sh + ;; + 5) + #Create a new username and save in temporal, to use after + if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null + then + sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal + fi + + echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/userAccount.sh /mnt + chmod +x /mnt/userAccount.sh + arch-chroot /mnt /userAccount.sh + rm -r /mnt/userAccount.sh + ;; + 6) + #Packages to the X11 live + packages=( "xorg-server" + "xf86-input-evdev" + "xf86-input-synaptics" + "xf86-video-ati" + "xf86-video-dummy" + "xf86-video-fbdev" + "xf86-video-intel" + "xf86-video-nouveau" + "xf86-video-openchrome" + "xf86-video-sisusb" + "xf86-video-vesa" + "xf86-video-vmware" + "xf86-video-voodoo" + "xf86-video-qxl" + "xorg-xinit" + "gst-plugins-good" + "gst-libav" + "lxde" + "volumeicon" + "zenity" + "octopi" + "pulseaudio-alsa" + "alsa-utils" + "networkmanager-elogind" + "network-manager-applet" + "ath9k-htc-firmware" + "iceweasel" + "icedove" + "pidgin" + "gparted" + "smplayer" + "epdfview" + "gpicview" + "abiword" + "gnumeric" + "leafpad" + "galculator-gtk2" + "xarchiver" + "openrc-desktop" + "polkit-elogind" + "gvfs-mtp" + "gvfs-gphoto2" + "xdg-user-dirs" + "gnome-screenshot" + ) + + #Install packages + pacman -Sy -r /mnt ${packages[@]} --needed --noconfirm + user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) + + #Copy skel in the new system and desktop's background + cp -a /etc/skel/ /mnt/etc/ + cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + + #Puts the XKBMAP, start X11 automatically and icewm desktop + echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc + echo "exec startlxde" >> /mnt/etc/skel/.xinitrc + echo "startx" >> /mnt/etc/skel/.bash_profile + chmod +x /mnt/etc/skel/.xinitrc + cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ + cp -a ~/.scriptsInstallation/x11.sh /mnt + + #Enable services with OpenRC and configure other stuff + chmod +x /mnt/x11.sh + arch-chroot /mnt /x11.sh + rm /mnt/x11.sh + ;; + *) + #Delete temporal file and umount partitions + rm -r /mnt/temporal + umount /mnt/boot &> /dev/null + umount /mnt/home &> /dev/null + umount /mnt &> /dev/null + exit + ;; + esac +done diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh new file mode 100755 index 0000000..773d10c --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh @@ -0,0 +1,271 @@ +#!/bin/bash + +HOSTNAME=$(dialog --stdout --inputbox "Introduce el nombre del sistema:" 8 40) +sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname + +ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce la Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime + +keymaps=( + "ANSI-dvorak ANSI-dvorak off" + "amiga-de amiga-de off" + "amiga-us amiga-us off" + "applkey applkey off" + "atari-de atari-de off" + "atari-se atari-se off" + "atari-uk-falcon atari-uk-falcon off" + "atari-us atari-us off" + "azerty azerty off" + "backspace backspace off" + "bashkir bashkir off" + "be-latin1 be-latin1 off" + "bg-cp1251 bg-cp1251 off" + "bg-cp855 bg-cp855 off" + "bg_bds-cp1251 bg_bds-cp1251 off" + "bg_bds-utf8 bg_bds-utf8 off" + "bg_pho-cp1251 bg_pho-cp1251 off" + "bg_pho-utf8 bg_pho-utf8 off" + "br-abnt br-abnt off" + "br-abnt2 br-abnt2 off" + "br-latin1-abnt2 br-latin1-abnt2 off" + "br-latin1-us br-latin1-us off" + "by by off" + "by-cp1251 by-cp1251 off" + "bywin-cp1251 bywin-cp1251 off" + "cf cf off" + "colemak colemak off" + "croat croat off" + "ctrl ctrl off" + "cz cz off" + "cz-cp1250 cz-cp1250 off" + "cz-lat2 cz-lat2 off" + "cz-lat2-prog cz-lat2-prog off" + "cz-qwertz cz-qwertz off" + "cz-us-qwertz cz-us-qwertz off" + "de de off" + "de-latin1 de-latin1 off" + "de-latin1-nodeadkeys de-latin1-nodeadkeys off" + "de-mobii de-mobii off" + "de_CH-latin1 de_CH-latin1 off" + "de_alt_UTF-8 de_alt_UTF-8 off" + "defkeymap defkeymap off" + "defkeymap_V1.0 defkeymap_V1.0 off" + "dk dk off" + "dk-latin1 dk-latin1 off" + "dvorak dvorak off" + "dvorak-ca-fr dvorak-ca-fr off" + "dvorak-es dvorak-es off" + "dvorak-fr dvorak-fr off" + "dvorak-l dvorak-l off" + "dvorak-r dvorak-r off" + "dvorak-ru dvorak-ru off" + "dvorak-sv-a1 dvorak-sv-a1 off" + "dvorak-sv-a5 dvorak-sv-a5 off" + "dvorak-uk dvorak-uk off" + "emacs emacs off" + "emacs2 emacs2 off" + "es es off" + "es-cp850 es-cp850 off" + "es-olpc es-olpc off" + "et et off" + "et-nodeadkeys et-nodeadkeys off" + "euro euro off" + "euro1 euro1 off" + "euro2 euro2 off" + "fi fi off" + "fr fr off" + "fr-bepo fr-bepo off" + "fr-bepo-latin9 fr-bepo-latin9 off" + "fr-latin1 fr-latin1 off" + "fr-latin9 fr-latin9 off" + "fr-pc fr-pc off" + "fr_CH fr_CH off" + "fr_CH-latin1 fr_CH-latin1 off" + "gr gr off" + "gr-pc gr-pc off" + "hu hu off" + "hu101 hu101 off" + "il il off" + "il-heb il-heb off" + "il-phonetic il-phonetic off" + "is-latin1 is-latin1 off" + "is-latin1-us is-latin1-us off" + "it it off" + "it-ibm it-ibm off" + "it2 it2 off" + "jp106 jp106 off" + "kazakh kazakh off" + "keypad keypad off" + "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" + "kyrgyz kyrgyz off" + "la-latin1 la-latin1 off" + "lt lt off" + "lt.baltic lt.baltic off" + "lt.l4 lt.l4 off" + "lv lv off" + "lv-tilde lv-tilde off" + "mac-be mac-be off" + "mac-de-latin1 mac-de-latin1 off" + "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" + "mac-de_CH mac-de_CH off" + "mac-dk-latin1 mac-dk-latin1 off" + "mac-dvorak mac-dvorak off" + "mac-es mac-es off" + "mac-euro mac-euro off" + "mac-euro2 mac-euro2 off" + "mac-fi-latin1 mac-fi-latin1 off" + "mac-fr mac-fr off" + "mac-fr_CH-latin1 mac-fr_CH-latin1 off" + "mac-it mac-it off" + "mac-pl mac-pl off" + "mac-pt-latin1 mac-pt-latin1 off" + "mac-se mac-se off" + "mac-template mac-template off" + "mac-uk mac-uk off" + "mac-us mac-us off" + "mk mk off" + "mk-cp1251 mk-cp1251 off" + "mk-utf mk-utf off" + "mk0 mk0 off" + "nl nl off" + "nl2 nl2 off" + "no no off" + "no-dvorak no-dvorak off" + "no-latin1 no-latin1 off" + "pc110 pc110 off" + "pl pl off" + "pl1 pl1 off" + "pl2 pl2 off" + "pl3 pl3 off" + "pl4 pl4 off" + "pt-latin1 pt-latin1 off" + "pt-latin9 pt-latin9 off" + "pt-olpc pt-olpc off" + "ro ro off" + "ro_std ro_std off" + "ro_win ro_win off" + "ru ru off" + "ru-cp1251 ru-cp1251 off" + "ru-ms ru-ms off" + "ru-yawerty ru-yawerty off" + "ru1 ru1 off" + "ru2 ru2 off" + "ru3 ru3 off" + "ru4 ru4 off" + "ru_win ru_win off" + "ruwin_alt-CP1251 ruwin_alt-CP1251 off" + "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" + "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" + "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" + "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" + "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" + "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" + "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" + "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" + "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" + "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" + "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" + "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" + "se-fi-ir209 se-fi-ir209 off" + "se-fi-lat6 se-fi-lat6 off" + "se-ir209 se-ir209 off" + "se-lat6 se-lat6 off" + "sg sg off" + "sg-latin1 sg-latin1 off" + "sg-latin1-lk450 sg-latin1-lk450 off" + "sk-prog-qwerty sk-prog-qwerty off" + "sk-prog-qwertz sk-prog-qwertz off" + "sk-qwerty sk-qwerty off" + "sk-qwertz sk-qwertz off" + "slovene slovene off" + "sr-cy sr-cy off" + "sun-pl sun-pl off" + "sun-pl-altgraph sun-pl-altgraph off" + "sundvorak sundvorak off" + "sunkeymap sunkeymap off" + "sunt4-es sunt4-es off" + "sunt4-fi-latin1 sunt4-fi-latin1 off" + "sunt4-no-latin1 sunt4-no-latin1 off" + "sunt5-cz-us sunt5-cz-us off" + "sunt5-de-latin1 sunt5-de-latin1 off" + "sunt5-es sunt5-es off" + "sunt5-fi-latin1 sunt5-fi-latin1 off" + "sunt5-fr-latin1 sunt5-fr-latin1 off" + "sunt5-ru sunt5-ru off" + "sunt5-uk sunt5-uk off" + "sunt5-us-cz sunt5-us-cz off" + "sunt6-uk sunt6-uk off" + "sv-latin1 sv-latin1 off" + "tj_alt-UTF8 tj_alt-UTF8 off" + "tr_f-latin5 tr_f-latin5 off" + "tr_q-latin5 tr_q-latin5 off" + "tralt tralt off" + "trf trf off" + "trf-fgGIod trf-fgGIod off" + "trq trq off" + "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" + "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" + "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" + "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" + "ua ua off" + "ua-cp1251 ua-cp1251 off" + "ua-utf ua-utf off" + "ua-utf-ws ua-utf-ws off" + "ua-ws ua-ws off" + "uk uk off" + "unicode unicode off" + "us us on" + "us-acentos us-acentos off" + "wangbe wangbe off" + "wangbe2 wangbe2 off" + "windowkeys windowkeys off" +) + +echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona la distribucion del teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf + +aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) +index=0 +for i in $aux; do + i=$(echo $i | sed -e 's/#/ /g') + locales+=("$i" "$i" off) + if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then + locales[$index]="$i" + locales[$((index+1))]="$i" + locales[$((index+2))]="on" + fi + index=$((index+3)) +done + +locale=$(dialog --stdout --checklist "Selecciona las Localizaciones" 20 70 50 "${locales[@]}") +locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') + +for i in ${locale[@]}; do + i=$(echo $i | sed -e 's/#/ /g') + sed -i -e "s/#$i/$i/g" /etc/locale.gen +done + +locale-gen + +aux=$(locale -a) +index=0 +for i in $aux; do + langs+=("$i" "$i" on) + index=$((index+1)) +done + +echo "LANG=$(dialog --stdout --radiolist "Selecciona tu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf + +mkinitcpio -p linux-libre + +hdd=$(cat /temporal | grep 'hdd=') +grub-install ${hdd#*=} +grub-mkconfig -o /boot/grub/grub.cfg + +password=$(dialog --stdout --passwordbox "Inserta la contraseña para el administrador" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repite la contraseña para el administrador" 8 40) +done + +usermod -p $(openssl passwd ${password}) root + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh new file mode 100755 index 0000000..4ed7437 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +user=$(cat /temporal | grep "userName") + +password=$(dialog --stdout --passwordbox "Introduce la contraseñara para el usuario ${user#*=}" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repite la contraseña" 8 40) +done + +useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh new file mode 100755 index 0000000..05ec262 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh @@ -0,0 +1,226 @@ +#!/bin/bash +#Temporal is a file that contains parameters to use when access to chroot + +if [ ! -f ~/.scriptsInstallation/.pacman ]; then + pacman -Sy parabola-keyring archlinux-keyring --noconfirm + pacman-key --populate parabola archlinux + pacman-key --refresh-keys + case $? in + 0) touch ~/.scriptsInstallation/.pacman + ;; + *) false + ;; + esac +fi + +partition(){ + + #Search and show the Hard Disks to select + aux=$(ls /dev/sd?) + index=0 + for i in $aux; do + hdds[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) + + #If exist the line delete + if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null + then + sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal + fi + + #And add the new line with new parameter + echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal + selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ + 1 "Usar todo o disco con swap (1GB) and /" \ + 2 "Usar gparted para personalizar" ) + + case $selection in + 1) + umount /mnt &> /dev/null + #Create msdos partition table + parted -s $hdd -- mklabel msdos + + #Create partition swap and / + parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s + + #Boot option partition / + parted -s $hdd -- set 2 boot on + + #Format and partitions and mount / + (echo t; echo 1; echo 82; echo w) | fdisk $hdd + mkswap ${hdd}1 + mkfs.ext4 ${hdd}2 + mount ${hdd}2 /mnt + ;; + 2) + gparted $hdd + + #Search and show the partitions that select before. + aux=$(ls $hdd?) + index=0; + for i in $aux; do + partitions[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) + + #Mount partition / + umount /mnt &> /dev/null + mount $partition /mnt + + #Ask if you want mount other partitions + other=0 + while [ $other != 3 ]; do + other=$(dialog --stdout --menu "¿Montar outra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") + + case $other in + 1) + umount /mnt/home &> /dev/null + mkdir /mnt/home &> /dev/null + mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home + ;; + 2) + umount /mnt/boot &> /dev/null + mkdir /mnt/boot &> /dev/null + mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot + ;; + *) + other=3 + ;; + esac + done + ;; + esac +} + + +option=0 +while [ option != 7 ]; do + option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ + 1 "Formatear e Montar Particiones" \ + 2 "Instalar Sistema Base" \ + 3 "Instalar GRUB" \ + 4 "ConfiguraciĂ³n do Sistema" \ + 5 "Crear Conta de Usuario" \ + 6 "(Opcional) Instalar Escritorio/Aplicaciones de Live DVD" \ + 7 "Salir" ) + + case $option in + 1) + partition + ;; + 2) + #Install base system + pacstrap /mnt base-openrc + pacstrap /mnt dialog + ;; + 3) + #Install grub + pacstrap /mnt grub + ;; + 4) + #Generate fstab and acces to chroot to do System Config + genfstab -p /mnt >> /mnt/etc/fstab + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/systemConfig.sh /mnt + chmod +x /mnt/systemConfig.sh + arch-chroot /mnt /systemConfig.sh + rm -r /mnt/systemConfig.sh + ;; + 5) + #Create a new username and save in temporal, to use after + if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null + then + sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal + fi + + echo "userName=$(dialog --stdout --inputbox "Introduce un nome de usuario" 8 40)" >> ~/.scriptsInstallation/temporal + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/userAccount.sh /mnt + chmod +x /mnt/userAccount.sh + arch-chroot /mnt /userAccount.sh + rm -r /mnt/userAccount.sh + ;; + 6) + #Packages to the X11 live + packages=( "xorg-server" + "xf86-input-evdev" + "xf86-input-synaptics" + "xf86-video-ati" + "xf86-video-dummy" + "xf86-video-fbdev" + "xf86-video-intel" + "xf86-video-nouveau" + "xf86-video-openchrome" + "xf86-video-sisusb" + "xf86-video-vesa" + "xf86-video-vmware" + "xf86-video-voodoo" + "xf86-video-qxl" + "xorg-xinit" + "gst-plugins-good" + "gst-libav" + "lxde" + "volumeicon" + "zenity" + "octopi" + "pulseaudio-alsa" + "alsa-utils" + "networkmanager-elogind" + "network-manager-applet" + "ath9k-htc-firmware" + "iceweasel" + "icedove" + "pidgin" + "gparted" + "smplayer" + "epdfview" + "gpicview" + "abiword" + "gnumeric" + "leafpad" + "galculator-gtk2" + "xarchiver" + "openrc-desktop" + "polkit-elogind" + "gvfs-mtp" + "gvfs-gphoto2" + "xdg-user-dirs" + "gnome-screenshot" + ) + + #Install packages + pacman -Sy -r /mnt ${packages[@]} --needed --noconfirm + user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) + + #Copy skel in the new system and desktop's background + cp -a /etc/skel/ /mnt/etc/ + cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + + #Puts the XKBMAP, start X11 automatically and icewm desktop + echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc + echo "exec startlxde" >> /mnt/etc/skel/.xinitrc + echo "startx" >> /mnt/etc/skel/.bash_profile + chmod +x /mnt/etc/skel/.xinitrc + cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ + cp -a ~/.scriptsInstallation/x11.sh /mnt + + #Enable services with OpenRC and configure other stuff + chmod +x /mnt/x11.sh + arch-chroot /mnt /x11.sh + rm /mnt/x11.sh + ;; + *) + #Delete temporal file and umount partitions + rm -r /mnt/temporal + umount /mnt/boot &> /dev/null + umount /mnt/home &> /dev/null + umount /mnt &> /dev/null + exit + ;; + esac +done diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh new file mode 100755 index 0000000..0fe3c68 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh @@ -0,0 +1,271 @@ +#!/bin/bash + +HOSTNAME=$(dialog --stdout --inputbox "Introduce o nome do sistema:" 8 40) +sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname + +ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce a Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime + +keymaps=( + "ANSI-dvorak ANSI-dvorak off" + "amiga-de amiga-de off" + "amiga-us amiga-us off" + "applkey applkey off" + "atari-de atari-de off" + "atari-se atari-se off" + "atari-uk-falcon atari-uk-falcon off" + "atari-us atari-us off" + "azerty azerty off" + "backspace backspace off" + "bashkir bashkir off" + "be-latin1 be-latin1 off" + "bg-cp1251 bg-cp1251 off" + "bg-cp855 bg-cp855 off" + "bg_bds-cp1251 bg_bds-cp1251 off" + "bg_bds-utf8 bg_bds-utf8 off" + "bg_pho-cp1251 bg_pho-cp1251 off" + "bg_pho-utf8 bg_pho-utf8 off" + "br-abnt br-abnt off" + "br-abnt2 br-abnt2 off" + "br-latin1-abnt2 br-latin1-abnt2 off" + "br-latin1-us br-latin1-us off" + "by by off" + "by-cp1251 by-cp1251 off" + "bywin-cp1251 bywin-cp1251 off" + "cf cf off" + "colemak colemak off" + "croat croat off" + "ctrl ctrl off" + "cz cz off" + "cz-cp1250 cz-cp1250 off" + "cz-lat2 cz-lat2 off" + "cz-lat2-prog cz-lat2-prog off" + "cz-qwertz cz-qwertz off" + "cz-us-qwertz cz-us-qwertz off" + "de de off" + "de-latin1 de-latin1 off" + "de-latin1-nodeadkeys de-latin1-nodeadkeys off" + "de-mobii de-mobii off" + "de_CH-latin1 de_CH-latin1 off" + "de_alt_UTF-8 de_alt_UTF-8 off" + "defkeymap defkeymap off" + "defkeymap_V1.0 defkeymap_V1.0 off" + "dk dk off" + "dk-latin1 dk-latin1 off" + "dvorak dvorak off" + "dvorak-ca-fr dvorak-ca-fr off" + "dvorak-es dvorak-es off" + "dvorak-fr dvorak-fr off" + "dvorak-l dvorak-l off" + "dvorak-r dvorak-r off" + "dvorak-ru dvorak-ru off" + "dvorak-sv-a1 dvorak-sv-a1 off" + "dvorak-sv-a5 dvorak-sv-a5 off" + "dvorak-uk dvorak-uk off" + "emacs emacs off" + "emacs2 emacs2 off" + "es es off" + "es-cp850 es-cp850 off" + "es-olpc es-olpc off" + "et et off" + "et-nodeadkeys et-nodeadkeys off" + "euro euro off" + "euro1 euro1 off" + "euro2 euro2 off" + "fi fi off" + "fr fr off" + "fr-bepo fr-bepo off" + "fr-bepo-latin9 fr-bepo-latin9 off" + "fr-latin1 fr-latin1 off" + "fr-latin9 fr-latin9 off" + "fr-pc fr-pc off" + "fr_CH fr_CH off" + "fr_CH-latin1 fr_CH-latin1 off" + "gr gr off" + "gr-pc gr-pc off" + "hu hu off" + "hu101 hu101 off" + "il il off" + "il-heb il-heb off" + "il-phonetic il-phonetic off" + "is-latin1 is-latin1 off" + "is-latin1-us is-latin1-us off" + "it it off" + "it-ibm it-ibm off" + "it2 it2 off" + "jp106 jp106 off" + "kazakh kazakh off" + "keypad keypad off" + "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" + "kyrgyz kyrgyz off" + "la-latin1 la-latin1 off" + "lt lt off" + "lt.baltic lt.baltic off" + "lt.l4 lt.l4 off" + "lv lv off" + "lv-tilde lv-tilde off" + "mac-be mac-be off" + "mac-de-latin1 mac-de-latin1 off" + "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" + "mac-de_CH mac-de_CH off" + "mac-dk-latin1 mac-dk-latin1 off" + "mac-dvorak mac-dvorak off" + "mac-es mac-es off" + "mac-euro mac-euro off" + "mac-euro2 mac-euro2 off" + "mac-fi-latin1 mac-fi-latin1 off" + "mac-fr mac-fr off" + "mac-fr_CH-latin1 mac-fr_CH-latin1 off" + "mac-it mac-it off" + "mac-pl mac-pl off" + "mac-pt-latin1 mac-pt-latin1 off" + "mac-se mac-se off" + "mac-template mac-template off" + "mac-uk mac-uk off" + "mac-us mac-us off" + "mk mk off" + "mk-cp1251 mk-cp1251 off" + "mk-utf mk-utf off" + "mk0 mk0 off" + "nl nl off" + "nl2 nl2 off" + "no no off" + "no-dvorak no-dvorak off" + "no-latin1 no-latin1 off" + "pc110 pc110 off" + "pl pl off" + "pl1 pl1 off" + "pl2 pl2 off" + "pl3 pl3 off" + "pl4 pl4 off" + "pt-latin1 pt-latin1 off" + "pt-latin9 pt-latin9 off" + "pt-olpc pt-olpc off" + "ro ro off" + "ro_std ro_std off" + "ro_win ro_win off" + "ru ru off" + "ru-cp1251 ru-cp1251 off" + "ru-ms ru-ms off" + "ru-yawerty ru-yawerty off" + "ru1 ru1 off" + "ru2 ru2 off" + "ru3 ru3 off" + "ru4 ru4 off" + "ru_win ru_win off" + "ruwin_alt-CP1251 ruwin_alt-CP1251 off" + "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" + "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" + "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" + "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" + "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" + "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" + "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" + "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" + "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" + "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" + "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" + "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" + "se-fi-ir209 se-fi-ir209 off" + "se-fi-lat6 se-fi-lat6 off" + "se-ir209 se-ir209 off" + "se-lat6 se-lat6 off" + "sg sg off" + "sg-latin1 sg-latin1 off" + "sg-latin1-lk450 sg-latin1-lk450 off" + "sk-prog-qwerty sk-prog-qwerty off" + "sk-prog-qwertz sk-prog-qwertz off" + "sk-qwerty sk-qwerty off" + "sk-qwertz sk-qwertz off" + "slovene slovene off" + "sr-cy sr-cy off" + "sun-pl sun-pl off" + "sun-pl-altgraph sun-pl-altgraph off" + "sundvorak sundvorak off" + "sunkeymap sunkeymap off" + "sunt4-es sunt4-es off" + "sunt4-fi-latin1 sunt4-fi-latin1 off" + "sunt4-no-latin1 sunt4-no-latin1 off" + "sunt5-cz-us sunt5-cz-us off" + "sunt5-de-latin1 sunt5-de-latin1 off" + "sunt5-es sunt5-es off" + "sunt5-fi-latin1 sunt5-fi-latin1 off" + "sunt5-fr-latin1 sunt5-fr-latin1 off" + "sunt5-ru sunt5-ru off" + "sunt5-uk sunt5-uk off" + "sunt5-us-cz sunt5-us-cz off" + "sunt6-uk sunt6-uk off" + "sv-latin1 sv-latin1 off" + "tj_alt-UTF8 tj_alt-UTF8 off" + "tr_f-latin5 tr_f-latin5 off" + "tr_q-latin5 tr_q-latin5 off" + "tralt tralt off" + "trf trf off" + "trf-fgGIod trf-fgGIod off" + "trq trq off" + "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" + "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" + "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" + "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" + "ua ua off" + "ua-cp1251 ua-cp1251 off" + "ua-utf ua-utf off" + "ua-utf-ws ua-utf-ws off" + "ua-ws ua-ws off" + "uk uk off" + "unicode unicode off" + "us us on" + "us-acentos us-acentos off" + "wangbe wangbe off" + "wangbe2 wangbe2 off" + "windowkeys windowkeys off" +) + +echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona a distribucion do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf + +aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) +index=0 +for i in $aux; do + i=$(echo $i | sed -e 's/#/ /g') + locales+=("$i" "$i" off) + if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then + locales[$index]="$i" + locales[$((index+1))]="$i" + locales[$((index+2))]="on" + fi + index=$((index+3)) +done + +locale=$(dialog --stdout --checklist "Selecciona as Localizacions" 20 70 50 "${locales[@]}") +locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') + +for i in ${locale[@]}; do + i=$(echo $i | sed -e 's/#/ /g') + sed -i -e "s/#$i/$i/g" /etc/locale.gen +done + +locale-gen + +aux=$(locale -a) +index=0 +for i in $aux; do + langs+=("$i" "$i" on) + index=$((index+1)) +done + +echo "LANG=$(dialog --stdout --radiolist "Selecciona o teu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf + +mkinitcpio -p linux-libre + +hdd=$(cat /temporal | grep 'hdd=') +grub-install ${hdd#*=} +grub-mkconfig -o /boot/grub/grub.cfg + +password=$(dialog --stdout --passwordbox "Insire o contrasinal para o administrador" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repite o contrasinal para o administrador" 8 40) +done + +usermod -p $(openssl passwd ${password}) root + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh new file mode 100755 index 0000000..aa1d33a --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +user=$(cat /temporal | grep "userName") + +password=$(dialog --stdout --passwordbox "Introduce o contrasinal para o usuario ${user#*=}" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repite o contrasinal" 8 40) +done + +useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh new file mode 100755 index 0000000..1de6c85 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh @@ -0,0 +1,227 @@ +#!/bin/bash +#Temporal is a file that contains parameters to use when access to chroot + +if [ ! -f ~/.scriptsInstallation/.pacman ]; then + pacman -Sy parabola-keyring archlinux-keyring --noconfirm + pacman-key --populate parabola archlinux + pacman-key --refresh-keys + case $? in + 0) touch ~/.scriptsInstallation/.pacman + ;; + *) false + ;; + esac +fi + +partition(){ + + #Search and show the Hard Disks to select + aux=$(ls /dev/sd?) + index=0 + for i in $aux; do + hdds[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + hdd=$(dialog --stdout --radiolist "Escolha o Disco" 20 70 50 ${hdds[@]}) + + #If exist the line delete + if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null + then + sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal + fi + + #And add the new line with new parameter + echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal + + selection=$(dialog --stdout --menu "MĂ©todo de Particionamento" 20 70 50 \ + 1 "Usar todo o disco com o swap (1GB) e /" \ + 2 "Usar o gparted para personalizar" ) + + case $selection in + 1) + umount /mnt &> /dev/null + #Create msdos partition table + parted -s $hdd -- mklabel msdos + + #Create partition swap and / + parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s + + #Boot option partition / + parted -s $hdd -- set 2 boot on + + #Format and partitions and mount / + (echo t; echo 1; echo 82; echo w) | fdisk $hdd + mkswap ${hdd}1 + mkfs.ext4 ${hdd}2 + mount ${hdd}2 /mnt + ;; + 2) + gparted $hdd + + #Search and show the partitions that select before. + aux=$(ls $hdd?) + index=0; + for i in $aux; do + partitions[$index]="${i} ${i#/*/} off" + index=$((index+1)) + done + + partition=$(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /" 20 70 50 ${partitions[@]}) + + #Mount partition / + umount /mnt &> /dev/null + mount $partition /mnt + + #Ask if you want mount other partitions + other=0 + while [ $other != 3 ]; do + other=$(dialog --stdout --menu "Quer montar outra partiĂ§Ă£o?" 20 70 50 1 "/home" 2 "/boot" 3 "NĂ£o") + + case $other in + 1) + umount /mnt/home &> /dev/null + mkdir /mnt/home &> /dev/null + mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /home" 20 70 50 ${partitions[@]}) /mnt/home + ;; + 2) + umount /mnt/boot &> /dev/null + mkdir /mnt/boot &> /dev/null + mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /boot" 20 70 50 ${partitions[@]}) /mnt/boot + ;; + *) + other=3 + ;; + esac + done + ;; + esac +} + + +option=0 +while [ option != 7 ]; do + option=$(dialog --stdout --menu "InstalaĂ§Ă£o CLI da Parabola" 20 70 50 \ + 1 "Formatar e Montar as Partições" \ + 2 "Instalar o Sistema Base" \ + 3 "Instalar o GRUB" \ + 4 "ConfiguraĂ§Ă£o do Sistema" \ + 5 "Adicionar uma Conta de UsuĂ¡rio" \ + 6 "(Opcional) Instalar Ambiente GrĂ¡fico/Aplicativos da Live DVD" \ + 7 "Sair" ) + + case $option in + 1) + partition + ;; + 2) + #Install base system + pacstrap /mnt base-openrc + pacstrap /mnt dialog + ;; + 3) + #Install grub + pacstrap /mnt grub + ;; + 4) + #Generate fstab and acces to chroot to do System Config + genfstab -p /mnt >> /mnt/etc/fstab + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/systemConfig.sh /mnt + chmod +x /mnt/systemConfig.sh + arch-chroot /mnt /systemConfig.sh + rm -r /mnt/systemConfig.sh + ;; + 5) + #Create a new username and save in temporal, to use after + if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null + then + sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal + fi + + echo "userName=$(dialog --stdout --inputbox "Insira o nome do usuĂ¡rio" 8 40)" >> ~/.scriptsInstallation/temporal + cp ~/.scriptsInstallation/temporal /mnt + cp ~/.scriptsInstallation/userAccount.sh /mnt + chmod +x /mnt/userAccount.sh + arch-chroot /mnt /userAccount.sh + rm -r /mnt/userAccount.sh + ;; + 6) + #Packages to the X11 live + packages=( "xorg-server" + "xf86-input-evdev" + "xf86-input-synaptics" + "xf86-video-ati" + "xf86-video-dummy" + "xf86-video-fbdev" + "xf86-video-intel" + "xf86-video-nouveau" + "xf86-video-openchrome" + "xf86-video-sisusb" + "xf86-video-vesa" + "xf86-video-vmware" + "xf86-video-voodoo" + "xf86-video-qxl" + "xorg-xinit" + "gst-plugins-good" + "gst-libav" + "lxde" + "volumeicon" + "zenity" + "octopi" + "pulseaudio-alsa" + "alsa-utils" + "networkmanager-elogind" + "network-manager-applet" + "ath9k-htc-firmware" + "iceweasel" + "icedove" + "pidgin" + "gparted" + "smplayer" + "epdfview" + "gpicview" + "abiword" + "gnumeric" + "leafpad" + "galculator-gtk2" + "xarchiver" + "openrc-desktop" + "polkit-elogind" + "gvfs-mtp" + "gvfs-gphoto2" + "xdg-user-dirs" + "gnome-screenshot" + ) + + #Install packages + pacman -Sy -r /mnt ${packages[@]} --needed --noconfirm + user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) + + #Copy skel in the new system and desktop's background + cp -a /etc/skel/ /mnt/etc/ + cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + + #Puts the XKBMAP, start X11 automatically and icewm desktop + echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc + echo "exec startlxde" >> /mnt/etc/skel/.xinitrc + echo "startx" >> /mnt/etc/skel/.bash_profile + chmod +x /mnt/etc/skel/.xinitrc + cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ + cp -a ~/.scriptsInstallation/x11.sh /mnt + + #Enable services with OpenRC and configure other stuff + chmod +x /mnt/x11.sh + arch-chroot /mnt /x11.sh + rm /mnt/x11.sh + ;; + *) + #Delete temporal file and umount partitions + rm -r /mnt/temporal + umount /mnt/boot &> /dev/null + umount /mnt/home &> /dev/null + umount /mnt &> /dev/null + exit + ;; + esac +done diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh new file mode 100755 index 0000000..983d0ba --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh @@ -0,0 +1,271 @@ +#!/bin/bash + +HOSTNAME=$(dialog --stdout --inputbox "Adicione o nome do sistema:" 8 40) +sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname + +ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Adicione o Fuso HorĂ¡rio:\nPor exemplo: America/Sao_Paulo" 8 40) /etc/localtime + +keymaps=( + "ANSI-dvorak ANSI-dvorak off" + "amiga-de amiga-de off" + "amiga-us amiga-us off" + "applkey applkey off" + "atari-de atari-de off" + "atari-se atari-se off" + "atari-uk-falcon atari-uk-falcon off" + "atari-us atari-us off" + "azerty azerty off" + "backspace backspace off" + "bashkir bashkir off" + "be-latin1 be-latin1 off" + "bg-cp1251 bg-cp1251 off" + "bg-cp855 bg-cp855 off" + "bg_bds-cp1251 bg_bds-cp1251 off" + "bg_bds-utf8 bg_bds-utf8 off" + "bg_pho-cp1251 bg_pho-cp1251 off" + "bg_pho-utf8 bg_pho-utf8 off" + "br-abnt br-abnt off" + "br-abnt2 br-abnt2 off" + "br-latin1-abnt2 br-latin1-abnt2 off" + "br-latin1-us br-latin1-us off" + "by by off" + "by-cp1251 by-cp1251 off" + "bywin-cp1251 bywin-cp1251 off" + "cf cf off" + "colemak colemak off" + "croat croat off" + "ctrl ctrl off" + "cz cz off" + "cz-cp1250 cz-cp1250 off" + "cz-lat2 cz-lat2 off" + "cz-lat2-prog cz-lat2-prog off" + "cz-qwertz cz-qwertz off" + "cz-us-qwertz cz-us-qwertz off" + "de de off" + "de-latin1 de-latin1 off" + "de-latin1-nodeadkeys de-latin1-nodeadkeys off" + "de-mobii de-mobii off" + "de_CH-latin1 de_CH-latin1 off" + "de_alt_UTF-8 de_alt_UTF-8 off" + "defkeymap defkeymap off" + "defkeymap_V1.0 defkeymap_V1.0 off" + "dk dk off" + "dk-latin1 dk-latin1 off" + "dvorak dvorak off" + "dvorak-ca-fr dvorak-ca-fr off" + "dvorak-es dvorak-es off" + "dvorak-fr dvorak-fr off" + "dvorak-l dvorak-l off" + "dvorak-r dvorak-r off" + "dvorak-ru dvorak-ru off" + "dvorak-sv-a1 dvorak-sv-a1 off" + "dvorak-sv-a5 dvorak-sv-a5 off" + "dvorak-uk dvorak-uk off" + "emacs emacs off" + "emacs2 emacs2 off" + "es es off" + "es-cp850 es-cp850 off" + "es-olpc es-olpc off" + "et et off" + "et-nodeadkeys et-nodeadkeys off" + "euro euro off" + "euro1 euro1 off" + "euro2 euro2 off" + "fi fi off" + "fr fr off" + "fr-bepo fr-bepo off" + "fr-bepo-latin9 fr-bepo-latin9 off" + "fr-latin1 fr-latin1 off" + "fr-latin9 fr-latin9 off" + "fr-pc fr-pc off" + "fr_CH fr_CH off" + "fr_CH-latin1 fr_CH-latin1 off" + "gr gr off" + "gr-pc gr-pc off" + "hu hu off" + "hu101 hu101 off" + "il il off" + "il-heb il-heb off" + "il-phonetic il-phonetic off" + "is-latin1 is-latin1 off" + "is-latin1-us is-latin1-us off" + "it it off" + "it-ibm it-ibm off" + "it2 it2 off" + "jp106 jp106 off" + "kazakh kazakh off" + "keypad keypad off" + "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" + "kyrgyz kyrgyz off" + "la-latin1 la-latin1 off" + "lt lt off" + "lt.baltic lt.baltic off" + "lt.l4 lt.l4 off" + "lv lv off" + "lv-tilde lv-tilde off" + "mac-be mac-be off" + "mac-de-latin1 mac-de-latin1 off" + "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" + "mac-de_CH mac-de_CH off" + "mac-dk-latin1 mac-dk-latin1 off" + "mac-dvorak mac-dvorak off" + "mac-es mac-es off" + "mac-euro mac-euro off" + "mac-euro2 mac-euro2 off" + "mac-fi-latin1 mac-fi-latin1 off" + "mac-fr mac-fr off" + "mac-fr_CH-latin1 mac-fr_CH-latin1 off" + "mac-it mac-it off" + "mac-pl mac-pl off" + "mac-pt-latin1 mac-pt-latin1 off" + "mac-se mac-se off" + "mac-template mac-template off" + "mac-uk mac-uk off" + "mac-us mac-us off" + "mk mk off" + "mk-cp1251 mk-cp1251 off" + "mk-utf mk-utf off" + "mk0 mk0 off" + "nl nl off" + "nl2 nl2 off" + "no no off" + "no-dvorak no-dvorak off" + "no-latin1 no-latin1 off" + "pc110 pc110 off" + "pl pl off" + "pl1 pl1 off" + "pl2 pl2 off" + "pl3 pl3 off" + "pl4 pl4 off" + "pt-latin1 pt-latin1 off" + "pt-latin9 pt-latin9 off" + "pt-olpc pt-olpc off" + "ro ro off" + "ro_std ro_std off" + "ro_win ro_win off" + "ru ru off" + "ru-cp1251 ru-cp1251 off" + "ru-ms ru-ms off" + "ru-yawerty ru-yawerty off" + "ru1 ru1 off" + "ru2 ru2 off" + "ru3 ru3 off" + "ru4 ru4 off" + "ru_win ru_win off" + "ruwin_alt-CP1251 ruwin_alt-CP1251 off" + "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" + "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" + "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" + "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" + "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" + "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" + "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" + "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" + "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" + "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" + "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" + "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" + "se-fi-ir209 se-fi-ir209 off" + "se-fi-lat6 se-fi-lat6 off" + "se-ir209 se-ir209 off" + "se-lat6 se-lat6 off" + "sg sg off" + "sg-latin1 sg-latin1 off" + "sg-latin1-lk450 sg-latin1-lk450 off" + "sk-prog-qwerty sk-prog-qwerty off" + "sk-prog-qwertz sk-prog-qwertz off" + "sk-qwerty sk-qwerty off" + "sk-qwertz sk-qwertz off" + "slovene slovene off" + "sr-cy sr-cy off" + "sun-pl sun-pl off" + "sun-pl-altgraph sun-pl-altgraph off" + "sundvorak sundvorak off" + "sunkeymap sunkeymap off" + "sunt4-es sunt4-es off" + "sunt4-fi-latin1 sunt4-fi-latin1 off" + "sunt4-no-latin1 sunt4-no-latin1 off" + "sunt5-cz-us sunt5-cz-us off" + "sunt5-de-latin1 sunt5-de-latin1 off" + "sunt5-es sunt5-es off" + "sunt5-fi-latin1 sunt5-fi-latin1 off" + "sunt5-fr-latin1 sunt5-fr-latin1 off" + "sunt5-ru sunt5-ru off" + "sunt5-uk sunt5-uk off" + "sunt5-us-cz sunt5-us-cz off" + "sunt6-uk sunt6-uk off" + "sv-latin1 sv-latin1 off" + "tj_alt-UTF8 tj_alt-UTF8 off" + "tr_f-latin5 tr_f-latin5 off" + "tr_q-latin5 tr_q-latin5 off" + "tralt tralt off" + "trf trf off" + "trf-fgGIod trf-fgGIod off" + "trq trq off" + "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" + "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" + "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" + "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" + "ua ua off" + "ua-cp1251 ua-cp1251 off" + "ua-utf ua-utf off" + "ua-utf-ws ua-utf-ws off" + "ua-ws ua-ws off" + "uk uk off" + "unicode unicode off" + "us us on" + "us-acentos us-acentos off" + "wangbe wangbe off" + "wangbe2 wangbe2 off" + "windowkeys windowkeys off" +) + +echo "KEYMAP=$(dialog --stdout --radiolist "Escolha a distribuiĂ§Ă£o do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf + +aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) +index=0 +for i in $aux; do + i=$(echo $i | sed -e 's/#/ /g') + locales+=("$i" "$i" off) + if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then + locales[$index]="$i" + locales[$((index+1))]="$i" + locales[$((index+2))]="on" + fi + index=$((index+3)) +done + +locale=$(dialog --stdout --checklist "Escolha as Localizações" 20 70 50 "${locales[@]}") +locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') + +for i in ${locale[@]}; do + i=$(echo $i | sed -e 's/#/ /g') + sed -i -e "s/#$i/$i/g" /etc/locale.gen +done + +locale-gen + +aux=$(locale -a) +index=0 +for i in $aux; do + langs+=("$i" "$i" on) + index=$((index+1)) +done + +echo "LANG=$(dialog --stdout --radiolist "Escolha a sua lĂ­ngua" 20 70 50 ${langs[@]})" > /etc/locale.conf + +mkinitcpio -p linux-libre + +hdd=$(cat /temporal | grep 'hdd=') +grub-install ${hdd#*=} +grub-mkconfig -o /boot/grub/grub.cfg + +password=$(dialog --stdout --passwordbox "Insira a senha para o root" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repita a senha para o root" 8 40) +done + +usermod -p $(openssl passwd ${password}) root + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh new file mode 100755 index 0000000..408beba --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +user=$(cat /temporal | grep "userName") + +password=$(dialog --stdout --passwordbox "Insira a senha para o usuĂ¡rio ${user#*=}" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repita a senha" 8 40) +done + +useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} + +exit diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png b/configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png new file mode 100644 index 0000000..aed32d7 Binary files /dev/null and b/configs/lxde-openrc/root-image/root/.scriptsInstallation/parabolaicon.png differ diff --git a/configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh b/configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh new file mode 100755 index 0000000..47035c5 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.scriptsInstallation/x11.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +check_dbus() { + grep dbus /etc/$1 +} + +# 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 + +# Enable services with OpenRC +rc-update add NetworkManager default +rc-update add dbus default +rc-update add alsasound default diff --git a/configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme b/configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme new file mode 100644 index 0000000..d6b2393 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.themes/Parabola/index.theme @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=Parabola +Type=X-GNOME-Metatheme +Comment= + +[X-GNOME-Metatheme] +GtkTheme=Radiance-Purple +MetacityTheme=Radiance-Purple +IconTheme=RAVE-X-Dark-Purple +GtkColorScheme=base_color:#ffffff,fg_color:#4c4c4c,tooltip_fg_color:#ffffff,selected_bg_color:#7E5BC5,selected_fg_color:#FFFFFF,text_color:#3C3C3C,bg_color:#F6F6F6,tooltip_bg_color:#000000,link_color:#9D7EDA +CursorTheme=mate +CursorSize=18 +BackgroundImage=/etc/wallpaper.png diff --git a/configs/lxde-openrc/root-image/root/.xinitrc b/configs/lxde-openrc/root-image/root/.xinitrc new file mode 100644 index 0000000..09e419c --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.xinitrc @@ -0,0 +1,7 @@ +code=$(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2) +[ "$code" = "0" ] && code='us' +setxkbmap $code +service NetworkManager start +service dbus start +service alsasound start +exec startlxde diff --git a/configs/lxde-openrc/root-image/root/.zlogin b/configs/lxde-openrc/root-image/root/.zlogin new file mode 100644 index 0000000..b24dba9 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/.zlogin @@ -0,0 +1,4 @@ +~/.automated_script.sh +~/.language.sh +export $(cat /etc/locale.conf) +startx diff --git a/configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop b/configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop new file mode 100755 index 0000000..9a2d871 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop @@ -0,0 +1,12 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=true +Name[es_ES]=Instalador CLI de Parabola +Name[gl_ES]=Instalador CLI de Parabola +Name[pt_BR]=Instalador CLI da Parabola +Exec=/root/.scriptsInstallation/install.sh +Name=Parabola Installation CLI +Comment=Parabola Installation Scripts +Icon=/root/.scriptsInstallation/parabolaicon.png diff --git a/configs/lxde-openrc/root-image/root/customize_root_image.sh b/configs/lxde-openrc/root-image/root/customize_root_image.sh new file mode 100755 index 0000000..26b7b19 --- /dev/null +++ b/configs/lxde-openrc/root-image/root/customize_root_image.sh @@ -0,0 +1,42 @@ +#!/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 diff --git a/configs/lxde-openrc/syslinux/parabolaiso.cfg b/configs/lxde-openrc/syslinux/parabolaiso.cfg new file mode 100644 index 0000000..473e245 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso.cfg @@ -0,0 +1,11 @@ +DEFAULT select + +LABEL select +COM32 boot/syslinux/whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG boot/syslinux/parabolaiso_pxe_choose.cfg + +LABEL sys +CONFIG boot/syslinux/parabolaiso_sys_choose.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_head.cfg b/configs/lxde-openrc/syslinux/parabolaiso_head.cfg new file mode 100644 index 0000000..8267a7a --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_head.cfg @@ -0,0 +1,25 @@ +SERIAL 0 38400 +UI boot/syslinux/vesamenu.c32 +MENU TITLE _EDITION_TITLE_ +MENU BACKGROUND boot/syslinux/splash.png + +MENU WIDTH 78 +MENU MARGIN 4 +MENU ROWS 7 +MENU VSHIFT 10 +MENU TABMSGROW 14 +MENU CMDLINEROW 14 +MENU HELPMSGROW 16 +MENU HELPMSGENDROW 29 + +# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu + +MENU COLOR border 35;40 #ff777caa #a0000000 std +MENU COLOR title 1;35;40 #ff777caa #a0000000 std +MENU COLOR sel 7;35;47 #e0ffffff #20777caa all +MENU COLOR unsel 35;40 #ff777caa #a0000000 std +MENU COLOR help 35;40 #c0b2b2b2 #a0000000 std +MENU COLOR timeout_msg 35;40 #ff777caa #00000000 std +MENU COLOR timeout 1;35;40 #ff777caa #00000000 std +MENU COLOR msg07 35;40 #ff777caa #a0000000 std +MENU COLOR tabmsg 35;40 #ff777caa #00000000 std diff --git a/configs/lxde-openrc/syslinux/parabolaiso_pxe32.cfg b/configs/lxde-openrc/syslinux/parabolaiso_pxe32.cfg new file mode 100644 index 0000000..9df86b7 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_pxe32.cfg @@ -0,0 +1,32 @@ +LABEL parabola32_nbd +TEXT HELP +Boot the Parabola GNU/Linux-libre (i686) live medium (Using NBD). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NBD) +LINUX boot/i686/vmlinuz +INITRD boot/i686/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} +SYSAPPEND 3 + +LABEL parabola32_nfs +TEXT HELP +Boot the Parabola GNU/Linux-libre (i686) live medium (Using NFS). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NFS) +LINUX boot/i686/vmlinuz +INITRD boot/i686/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt +SYSAPPEND 3 + +LABEL parabola32_http +TEXT HELP +Boot the Parabola GNU/Linux-libre (i686) live medium (Using HTTP). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (i686) (HTTP) +LINUX boot/i686/vmlinuz +INITRD boot/i686/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ +SYSAPPEND 3 diff --git a/configs/lxde-openrc/syslinux/parabolaiso_pxe64.cfg b/configs/lxde-openrc/syslinux/parabolaiso_pxe64.cfg new file mode 100644 index 0000000..be3e3de --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_pxe64.cfg @@ -0,0 +1,32 @@ +LABEL parabola64_nbd +TEXT HELP +Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NBD). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NBD) +LINUX boot/x86_64/vmlinuz +INITRD boot/x86_64/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} +SYSAPPEND 3 + +LABEL parabola64_nfs +TEXT HELP +Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NFS). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NFS) +LINUX boot/x86_64/vmlinuz +INITRD boot/x86_64/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt +SYSAPPEND 3 + +LABEL parabola64_http +TEXT HELP +Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using HTTP). +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (HTTP) +LINUX boot/x86_64/vmlinuz +INITRD boot/x86_64/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ +SYSAPPEND 3 diff --git a/configs/lxde-openrc/syslinux/parabolaiso_pxe_32_inc.cfg b/configs/lxde-openrc/syslinux/parabolaiso_pxe_32_inc.cfg new file mode 100644 index 0000000..ba514cb --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_pxe_32_inc.cfg @@ -0,0 +1,3 @@ +INCLUDE boot/syslinux/parabolaiso_head.cfg +INCLUDE boot/syslinux/parabolaiso_pxe32.cfg +INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_pxe_both_inc.cfg b/configs/lxde-openrc/syslinux/parabolaiso_pxe_both_inc.cfg new file mode 100644 index 0000000..9396d9b --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_pxe_both_inc.cfg @@ -0,0 +1,4 @@ +INCLUDE boot/syslinux/parabolaiso_head.cfg +INCLUDE boot/syslinux/parabolaiso_pxe64.cfg +INCLUDE boot/syslinux/parabolaiso_pxe32.cfg +INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_pxe_choose.cfg b/configs/lxde-openrc/syslinux/parabolaiso_pxe_choose.cfg new file mode 100644 index 0000000..a3a768f --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_pxe_choose.cfg @@ -0,0 +1,11 @@ +DEFAULT choose + +LABEL choose +COM32 boot/syslinux/ifcpu64.c32 +APPEND have64 -- nohave64 + +LABEL have64 +CONFIG boot/syslinux/parabolaiso_pxe_both_inc.cfg + +LABEL nohave64 +CONFIG boot/syslinux/parabolaiso_pxe_32_inc.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_sys32.cfg b/configs/lxde-openrc/syslinux/parabolaiso_sys32.cfg new file mode 100644 index 0000000..4abdf7a --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_sys32.cfg @@ -0,0 +1,9 @@ +LABEL parabola32 +TEXT HELP +Boot the Parabola GNU/Linux-libre (i686) live medium. +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (i686) +LINUX boot/i686/vmlinuz +INITRD boot/i686/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/lxde-openrc/syslinux/parabolaiso_sys64.cfg b/configs/lxde-openrc/syslinux/parabolaiso_sys64.cfg new file mode 100644 index 0000000..b154459 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_sys64.cfg @@ -0,0 +1,9 @@ +LABEL parabola64 +TEXT HELP +Boot the Parabola GNU/Linux-libre (x86_64) live medium. +It allows you to install Parabola GNU/Linux-libre or perform system maintenance. +ENDTEXT +MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) +LINUX boot/x86_64/vmlinuz +INITRD boot/x86_64/parabolaiso.img +APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/lxde-openrc/syslinux/parabolaiso_sys_32_inc.cfg b/configs/lxde-openrc/syslinux/parabolaiso_sys_32_inc.cfg new file mode 100644 index 0000000..c641201 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_sys_32_inc.cfg @@ -0,0 +1,3 @@ +INCLUDE boot/syslinux/parabolaiso_head.cfg +INCLUDE boot/syslinux/parabolaiso_sys32.cfg +INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_sys_both_inc.cfg b/configs/lxde-openrc/syslinux/parabolaiso_sys_both_inc.cfg new file mode 100644 index 0000000..9dfb87f --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_sys_both_inc.cfg @@ -0,0 +1,4 @@ +INCLUDE boot/syslinux/parabolaiso_head.cfg +INCLUDE boot/syslinux/parabolaiso_sys64.cfg +INCLUDE boot/syslinux/parabolaiso_sys32.cfg +INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_sys_choose.cfg b/configs/lxde-openrc/syslinux/parabolaiso_sys_choose.cfg new file mode 100644 index 0000000..d436062 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_sys_choose.cfg @@ -0,0 +1,11 @@ +DEFAULT choose + +LABEL choose +COM32 boot/syslinux/ifcpu64.c32 +APPEND have64 -- nohave64 + +LABEL have64 +CONFIG boot/syslinux/parabolaiso_sys_both_inc.cfg + +LABEL nohave64 +CONFIG boot/syslinux/parabolaiso_sys_32_inc.cfg diff --git a/configs/lxde-openrc/syslinux/parabolaiso_tail.cfg b/configs/lxde-openrc/syslinux/parabolaiso_tail.cfg new file mode 100644 index 0000000..e85d8e1 --- /dev/null +++ b/configs/lxde-openrc/syslinux/parabolaiso_tail.cfg @@ -0,0 +1,27 @@ +LABEL existing +TEXT HELP +Boot an existing operating system. +Press TAB to edit the disk and partition number to boot. +ENDTEXT +MENU LABEL Boot existing OS +COM32 boot/syslinux/chain.c32 +APPEND hd0 0 + +# http://www.memtest.org/ +LABEL memtest +MENU LABEL Run Memtest86+ (RAM test) +LINUX boot/memtest + +# http://hdt-project.org/ +LABEL hdt +MENU LABEL Hardware Information (HDT) +COM32 boot/syslinux/hdt.c32 +APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz + +LABEL reboot +MENU LABEL Reboot +COM32 boot/syslinux/reboot.c32 + +LABEL poweroff +MENU LABEL Power Off +COM32 boot/syslinux/poweroff.c32 diff --git a/configs/lxde-openrc/syslinux/splash.png b/configs/lxde-openrc/syslinux/splash.png new file mode 100644 index 0000000..ff1342f Binary files /dev/null and b/configs/lxde-openrc/syslinux/splash.png differ diff --git a/configs/lxde-openrc/syslinux/syslinux.cfg b/configs/lxde-openrc/syslinux/syslinux.cfg new file mode 100644 index 0000000..0869ed2 --- /dev/null +++ b/configs/lxde-openrc/syslinux/syslinux.cfg @@ -0,0 +1,5 @@ +DEFAULT loadconfig + +LABEL loadconfig + CONFIG parabolaiso.cfg + APPEND ../../ diff --git a/configs/mate-openrc/aitab b/configs/mate-openrc/aitab deleted file mode 100644 index b7e9a17..0000000 --- a/configs/mate-openrc/aitab +++ /dev/null @@ -1,3 +0,0 @@ -# -root-image / i686 xz ext4 50% -root-image / x86_64 xz ext4 50% diff --git a/configs/mate-openrc/build.sh b/configs/mate-openrc/build.sh deleted file mode 100755 index 78a1eba..0000000 --- a/configs/mate-openrc/build.sh +++ /dev/null @@ -1,252 +0,0 @@ -#!/bin/bash - -set -e -u - -iso_name=parabola-openrc-mate -iso_label="PARA_$(date +%Y%m)" -iso_version=$(date +%Y.%m.%d) -install_dir=parabola -work_dir=work -out_dir=out -data_dir=/usr/share/parabolaiso/data - -arch=$(uname -m) -verbose="" -pacman_conf=${work_dir}/pacman.conf -script_path=$(readlink -f ${0%/*}) -initcpio_dir=${script_path}/../../parabolaiso/initcpio - -_usage () -{ - echo "usage ${0} [options]" - echo - echo " General options:" - echo " -N Set an iso filename (prefix)" - echo " Default: ${iso_name}" - echo " -V Set an iso version (in filename)" - echo " Default: ${iso_version}" - echo " -L Set an iso label (disk label)" - echo " Default: ${iso_label}" - echo " -D Set an install_dir (directory inside iso)" - echo " Default: ${install_dir}" - echo " -w Set the working directory" - echo " Default: ${work_dir}" - echo " -o Set the output directory" - echo " Default: ${out_dir}" - echo " -v Enable verbose output" - echo " -h This help message" - exit ${1} -} - -# Helper function to run make_*() only one time per architecture. -run_once() { - if [[ ! -e ${work_dir}/build.${1}_${arch} ]]; then - $1 - touch ${work_dir}/build.${1}_${arch} - fi -} - -# Setup custom pacman.conf with current cache directories. -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} -} - -# Base installation, plus needed packages (root-image) -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 -} - -# Additional packages (root-image) -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 -} - -# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image) -make_setup_mkinitcpio() { - local _hook - 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 - 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 -} - -# Customize installation (root-image) -make_customize_root_image() { - cp -af ${script_path}/root-image ${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 -} - -# 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 -} - -# 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 -} - -# Prepare /${install_dir}/boot/syslinux -make_syslinux() { - mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux - for _cfg in ${script_path}/syslinux/*.cfg; do - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - 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 - 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 -} - -# Prepare /isolinux -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/ -} - -# Prepare /EFI -make_efi() { - mkdir -p ${work_dir}/iso/EFI/boot - - mkdir -p ${work_dir}/iso/loader/entries - cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/iso/loader/entries/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/iso/loader/entries/ - - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - 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 -} - -# 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 - - mkdir -p ${work_dir}/efiboot - mount ${work_dir}/iso/EFI/parabolaiso/efiboot.img ${work_dir}/efiboot - - mkdir -p ${work_dir}/efiboot/EFI/parabolaiso - cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/parabolaiso/vmlinuz.efi - 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 - - mkdir -p ${work_dir}/efiboot/loader/entries - cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/efiboot/loader/entries/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/efiboot/loader/entries/ - - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - s|%INSTALL_DIR%|${install_dir}|g" \ - ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-cd.conf > ${work_dir}/efiboot/loader/entries/parabolaiso-x86_64.conf - - 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 -} - -# 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) -make_prepare() { - cp -a -l -f ${work_dir}/${arch}/root-image ${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) -} - -# 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" -} - -if [[ ${EUID} -ne 0 ]]; then - echo "This script must be run as root." - _usage 1 -fi - -if [[ ${arch} != x86_64 ]]; then - echo "This script needs to be run on x86_64" - _usage 1 -fi - -while getopts 'N:V:L:D:w:o:vh' arg; do - case "${arg}" in - N) iso_name="${OPTARG}" ;; - V) iso_version="${OPTARG}" ;; - L) iso_label="${OPTARG}" ;; - D) install_dir="${OPTARG}" ;; - w) work_dir="${OPTARG}" ;; - o) out_dir="${OPTARG}" ;; - v) verbose="-v" ;; - h) _usage 0 ;; - *) - echo "Invalid argument '${arg}'" - _usage 1 - ;; - esac -done - -mkdir -p ${work_dir} - -run_once make_pacman_conf - -# Do all stuff for each root-image -for arch in i686 x86_64; do - run_once make_basefs - run_once make_packages - run_once make_setup_mkinitcpio - run_once make_customize_root_image -done - -for arch in i686 x86_64; do - run_once make_boot -done - -# Do all stuff for "iso" -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 -done - -run_once make_iso diff --git a/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf b/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf deleted file mode 100644 index 057e14f..0000000 --- a/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-cd.conf +++ /dev/null @@ -1,4 +0,0 @@ -title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI CD -linux /EFI/parabolaiso/vmlinuz.efi -initrd /EFI/parabolaiso/parabolaiso.img -options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf b/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf deleted file mode 100644 index 3863799..0000000 --- a/configs/mate-openrc/efiboot/loader/entries/parabolaiso-x86_64-usb.conf +++ /dev/null @@ -1,4 +0,0 @@ -title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI USB -linux /%INSTALL_DIR%/boot/x86_64/vmlinuz -initrd /%INSTALL_DIR%/boot/x86_64/parabolaiso.img -options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf b/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf deleted file mode 100644 index 9597ff2..0000000 --- a/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v1-x86_64.conf +++ /dev/null @@ -1,2 +0,0 @@ -title UEFI Shell x86_64 v1 -efi /EFI/shellx64_v1.efi diff --git a/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf b/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf deleted file mode 100644 index 0dde77a..0000000 --- a/configs/mate-openrc/efiboot/loader/entries/uefi-shell-v2-x86_64.conf +++ /dev/null @@ -1,2 +0,0 @@ -title UEFI Shell x86_64 v2 -efi /EFI/shellx64_v2.efi diff --git a/configs/mate-openrc/efiboot/loader/loader.conf b/configs/mate-openrc/efiboot/loader/loader.conf deleted file mode 100644 index ba02c50..0000000 --- a/configs/mate-openrc/efiboot/loader/loader.conf +++ /dev/null @@ -1,2 +0,0 @@ -timeout 3 -default parabolaiso-x86_64 diff --git a/configs/mate-openrc/isolinux/isolinux.cfg b/configs/mate-openrc/isolinux/isolinux.cfg deleted file mode 100644 index 10472fb..0000000 --- a/configs/mate-openrc/isolinux/isolinux.cfg +++ /dev/null @@ -1,6 +0,0 @@ -PATH /%INSTALL_DIR%/boot/syslinux/ -DEFAULT loadconfig - -LABEL loadconfig - CONFIG /%INSTALL_DIR%/boot/syslinux/parabolaiso.cfg - APPEND /%INSTALL_DIR%/ diff --git a/configs/mate-openrc/mkinitcpio.conf b/configs/mate-openrc/mkinitcpio.conf deleted file mode 100644 index fc2572b..0000000 --- a/configs/mate-openrc/mkinitcpio.conf +++ /dev/null @@ -1,3 +0,0 @@ -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" -COMPRESSION="xz" diff --git a/configs/mate-openrc/packages.both b/configs/mate-openrc/packages.both deleted file mode 100644 index 5887141..0000000 --- a/configs/mate-openrc/packages.both +++ /dev/null @@ -1,139 +0,0 @@ -arch-install-scripts -btrfs-progs -crda -darkhttpd -ddrescue -dhclient -dialog -dmraid -dnsmasq -dnsutils -dosfstools -elinks -ethtool -f2fs-tools -fsarchiver -gnu-netcat -gpm-openrc -gptfdisk -grml-zsh-config -grub -haveged-openrc -hdparm-openrc -irssi -lftp -linux-atm -lynx -mc -mtools -nfs-utils -nilfs-utils -nmap -ntfs-3g -ntp-openrc -openconnect -openssh-openrc -openvpn-openrc -partclone -parted -partimage -pptpclient -ppp -rfkill -rp-pppoe -rsync-openrc -smartmontools -sudo -tcpdump -testdisk -usb_modeswitch -vpnc -wget -wireless_tools -wpa_actiond -wpa_supplicant-openrc -zile -wvdial -xl2tpd -zsh - -#X11 -xorg-server -xf86-video-amdgpu -xf86-video-ati -xf86-video-dummy -xf86-video-fbdev -xf86-video-intel -xf86-video-nouveau -xf86-video-openchrome -xf86-video-sisusb -xf86-video-vesa -xf86-video-vmware -xf86-video-voodoo -xf86-video-qxl -xorg-xinit - -#Plugins -gst-plugins-good -gst-libav - -#Window Manager -mate -mate-extra -caja -volumeicon -zenity -octopi -octopi-cachecleaner -octopi-notifier -octopi-repoeditor -ambiance-radiance-colors-suite -rave-x-colors - -#Sound -pulseaudio-alsa -alsa-utils - -#Network -networkmanager-elogind -network-manager-applet -ath9k-htc-firmware -gnome-keyring - -#Programs -iceweasel -icedove -pidgin -linphone -qtox -gparted -smplayer -epdfview -gpicview -abiword -gnumeric -leafpad -galculator-gtk2 -xarchiver -dmidecode - -#Compressor/archiver -p7zip -unar -unzip -zip - -#Fonts -ttf-dejavu - -#Languages -iceweasel-l10n-es-es -icedove-l10n-es-es -iceweasel-l10n-gl -icedove-l10n-gl -iceweasel-l10n-pt-br -icedove-l10n-pt-br - -#OpenRC -openrc-desktop -polkit-elogind diff --git a/configs/mate-openrc/packages.i686 b/configs/mate-openrc/packages.i686 deleted file mode 100644 index e69de29..0000000 diff --git a/configs/mate-openrc/packages.x86_64 b/configs/mate-openrc/packages.x86_64 deleted file mode 100644 index 804cc93..0000000 --- a/configs/mate-openrc/packages.x86_64 +++ /dev/null @@ -1 +0,0 @@ -refind-efi diff --git a/configs/mate-openrc/pacman.conf b/configs/mate-openrc/pacman.conf deleted file mode 100644 index a0c4c56..0000000 --- a/configs/mate-openrc/pacman.conf +++ /dev/null @@ -1,128 +0,0 @@ -# -# /etc/pacman.conf -# -# See the pacman.conf(5) manpage for option and repository directives - -# -# GENERAL OPTIONS -# -[options] -# The following paths are commented out with their default values listed. -# If you wish to use different paths, uncomment and update the paths. -#RootDir = / -#DBPath = /var/lib/pacman/ -#CacheDir = /var/cache/pacman/pkg/ -#LogFile = /var/log/pacman.log -#GPGDir = /etc/pacman.d/gnupg/ -HoldPkg = pacman glibc -#XferCommand = /usr/bin/curl -C - -f %u > %o -#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u -#CleanMethod = KeepInstalled -#UseDelta = 0.7 -Architecture = auto - -# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup -#IgnorePkg = -#IgnoreGroup = - -#NoUpgrade = -#NoExtract = - -# Misc options -#UseSyslog -#Color -#TotalDownload -# We cannot check disk space from within a chroot environment -#CheckSpace -#VerbosePkgLists - -# By default, pacman accepts packages signed by keys that its local keyring -# trusts (see pacman-key and its man page), as well as unsigned packages. -SigLevel = Required DatabaseOptional -LocalFileSigLevel = Optional -#RemoteFileSigLevel = Required - -# NOTE: You must run `pacman-key --init` before first using pacman; the local -# keyring can then be populated with the keys of all official Arch Linux and Parabola -# packagers with `pacman-key --populate archlinux` and `pacman-key --populate parabola`. - -# -# REPOSITORIES -# - can be defined here or included from another file -# - pacman will search repositories in the order defined here -# - local/custom mirrors can be added here or in separate files -# - repositories listed first will take precedence when packages -# have identical names, regardless of version number -# - URLs will have $repo replaced by the name of the current repo -# - URLs will have $arch replaced by the name of the architecture -# -# Repository entries are of the format: -# [repo-name] -# Server = ServerName -# Include = IncludePath -# -# The header [repo-name] is crucial - it must be present and -# uncommented to enable the repo. -# - -# The testing repositories are disabled by default. To enable, uncomment the -# repo name header and Include lines. You can add preferred servers immediately -# after the header, and they will be used before the default mirrors. - -#[libre-testing] -#Include = /etc/pacman.d/mirrorlist - -[libre] -Include = /etc/pacman.d/mirrorlist - -#[testing] -#Include = /etc/pacman.d/mirrorlist - -[core] -Include = /etc/pacman.d/mirrorlist - -[extra] -Include = /etc/pacman.d/mirrorlist - -#[community-testing] -#Include = /etc/pacman.d/mirrorlist - -[community] -Include = /etc/pacman.d/mirrorlist - -# An example of a custom package repository. See the pacman manpage for -# tips on creating your own repositories. -#[custom] -#SigLevel = Optional TrustAll -#Server = file:///home/custompkgs - -#[nonprism-testing] -#Include = /etc/pacman.d/mirrorlist - -[nonprism] -Include = /etc/pacman.d/mirrorlist - -# enable the libre-multilib, multilib and pcr-multilib repositories as required here. -#[nonprism-multilib-testing] -#Include = /etc/pacman.d/mirrorlist - -[nonprism-multilib] -Include = /etc/pacman.d/mirrorlist - -#[libre-multilib-testing] -#Include = /etc/pacman.d/mirrorlist - -#[libre-multilib] -#Include = /etc/pacman.d/mirrorlist - -#[multilib-testing] -#Include = /etc/pacman.d/mirrorlist - -[multilib] -Include = /etc/pacman.d/mirrorlist - -#[pcr-multilib-testing] -#Include = /etc/pacman.d/mirrorlist - -[pcr-multilib] -Include = /etc/pacman.d/mirrorlist diff --git a/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1 b/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1 deleted file mode 100644 index b7ff06d..0000000 --- a/configs/mate-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/mate-openrc/root-image/etc/conf.d/hostname b/configs/mate-openrc/root-image/etc/conf.d/hostname deleted file mode 100644 index a701f0c..0000000 --- a/configs/mate-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/mate-openrc/root-image/etc/fstab b/configs/mate-openrc/root-image/etc/fstab deleted file mode 100644 index e69de29..0000000 diff --git a/configs/mate-openrc/root-image/etc/init.d/pacman-init b/configs/mate-openrc/root-image/etc/init.d/pacman-init deleted file mode 100755 index b610683..0000000 --- a/configs/mate-openrc/root-image/etc/init.d/pacman-init +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/openrc-run -# Copyright (C) 2017 Parabola Project -# Copyright (C) Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Initializes Pacman keyring" - -depend() { - use haveged - after haveged -} - -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 - else - 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 - fi -} diff --git a/configs/mate-openrc/root-image/etc/locale.conf b/configs/mate-openrc/root-image/etc/locale.conf deleted file mode 100644 index 01ec548..0000000 --- a/configs/mate-openrc/root-image/etc/locale.conf +++ /dev/null @@ -1 +0,0 @@ -LANG=en_US.UTF-8 diff --git a/configs/mate-openrc/root-image/etc/motd b/configs/mate-openrc/root-image/etc/motd deleted file mode 100644 index a126999..0000000 --- a/configs/mate-openrc/root-image/etc/motd +++ /dev/null @@ -1,14 +0,0 @@ - -=============================================================================== - - Parabola live media _DATE_ - - To install Parabola, the system must be connected to the internet. - For instructions, enter this command: - lynx network.html - - Press the function keys while holding Alt to switch virtual terminals. - This allows entering commands without closing lynx. - -=============================================================================== - diff --git a/configs/mate-openrc/root-image/etc/pam.d/su b/configs/mate-openrc/root-image/etc/pam.d/su deleted file mode 100644 index a291042..0000000 --- a/configs/mate-openrc/root-image/etc/pam.d/su +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_wheel.so trust use_uid -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so diff --git a/configs/mate-openrc/root-image/etc/skel/.config/caja/accels b/configs/mate-openrc/root-image/etc/skel/.config/caja/accels deleted file mode 100644 index 9464f0d..0000000 --- a/configs/mate-openrc/root-image/etc/skel/.config/caja/accels +++ /dev/null @@ -1,133 +0,0 @@ -; caja GtkAccelMap rc-file -*- scheme -*- -; this file is an automated accelerator map dump -; -; (gtk_accel_path "/DirViewActions/Trash" "") -; (gtk_accel_path "/DirViewActions/Save Search" "") -; (gtk_accel_path "/IconViewActions/Sort by Emblems" "") -; (gtk_accel_path "/DirViewActions/Start Volume" "") -; (gtk_accel_path "/DirViewActions/Location Poll" "") -; (gtk_accel_path "/ShellActions/Go to Trash" "") -; (gtk_accel_path "/SpatialActions/Go to Location" "l") -; (gtk_accel_path "/IconViewActions/Stretch" "") -; (gtk_accel_path "/DirViewActions/MoveToMenu" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel" "equal") -; (gtk_accel_path "/DirViewActions/LocationTrash" "") -; (gtk_accel_path "/DirViewActions/RenameSelectAll" "F2") -; (gtk_accel_path "/DirViewActions/Undo" "z") -; (gtk_accel_path "/DirViewActions/Location Start Volume" "") -; (gtk_accel_path "/DirViewActions/CopyToMenu" "") -; (gtk_accel_path "/DirViewActions/Empty Trash" "") -; (gtk_accel_path "/ShellActions/Close" "w") -; (gtk_accel_path "/DirViewActions/LocationRestoreFromTrash" "") -; (gtk_accel_path "/IconViewActions/Manual Layout" "") -; (gtk_accel_path "/ShellActions/Zoom Normal" "0") -; (gtk_accel_path "/DirViewActions/Create Link" "m") -; (gtk_accel_path "/DirViewActions/LocationDelete" "") -; (gtk_accel_path "/IconViewActions/Sort by Trash Time" "") -; (gtk_accel_path "/DirViewActions/OtherApplication2" "") -; (gtk_accel_path "/DirViewActions/OpenInNewTab" "o") -; (gtk_accel_path "/DirViewActions/OtherApplication1" "") -; (gtk_accel_path "/ShellActions/Connect to Server" "") -; (gtk_accel_path "/ShellActions/Help" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel2" "KP_Add") -; (gtk_accel_path "/SpatialActions/Close All Folders" "q") -; (gtk_accel_path "/ShellActions/File" "") -; (gtk_accel_path "/DirViewActions/Format Volume" "") -; (gtk_accel_path "/ShellActions/Caja Manual" "F1") -; (gtk_accel_path "/ShellActions/Go to Network" "") -; (gtk_accel_path "/DirViewActions/Mount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy" "c") -; (gtk_accel_path "/IconViewActions/Sort by Type" "") -; (gtk_accel_path "/ShellActions/View" "") -; (gtk_accel_path "/DirViewActions/New Empty File" "") -; (gtk_accel_path "/ShellActions/About Caja" "") -; (gtk_accel_path "/DirViewActions/Location Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Unstretch" "") -; (gtk_accel_path "/ShellActions/Zoom Out" "minus") -; (gtk_accel_path "/DirViewActions/OpenCloseParent" "Down") -; (gtk_accel_path "/SpatialActions/Close Parent Folders" "w") -; (gtk_accel_path "/DirViewActions/Open" "o") -; (gtk_accel_path "/DirViewActions/Self Format Volume" "") -; (gtk_accel_path "/DirViewActions/Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Connect To Server Link" "") -; (gtk_accel_path "/DirViewActions/Location Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Reset to Defaults" "") -; (gtk_accel_path "/DirViewActions/Location Mount Volume" "") -; (gtk_accel_path "/DirViewActions/LocationCut" "") -; (gtk_accel_path "/ShellActions/Zoom In" "plus") -; (gtk_accel_path "/DirViewActions/LocationOpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/Self Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Tighter Layout" "") -; (gtk_accel_path "/DirViewActions/Paste Files Into" "") -; (gtk_accel_path "/DirViewActions/LocationCopy" "") -; (gtk_accel_path "/DirViewActions/OpenAccel" "Down") -; (gtk_accel_path "/DirViewActions/Open With" "") -; (gtk_accel_path "/ShellActions/Edit" "") -; (gtk_accel_path "/ShellActions/Up" "Up") -; (gtk_accel_path "/DirViewActions/Open Scripts Folder" "") -; (gtk_accel_path "/DirViewActions/New Documents" "") -; (gtk_accel_path "/ShellActions/Reload" "r") -; (gtk_accel_path "/DirViewActions/Move to Home" "") -; (gtk_accel_path "/ShellActions/Backgrounds and Emblems" "") -; (gtk_accel_path "/DirViewActions/No Templates" "") -; (gtk_accel_path "/DirViewActions/Location Format Volume" "") -; (gtk_accel_path "/ShellActions/ZoomOutAccel" "KP_Subtract") -; (gtk_accel_path "/DirViewActions/LocationPasteFilesInto" "") -; (gtk_accel_path "/IconViewActions/Sort by Size" "") -; (gtk_accel_path "/DirViewActions/Select All" "a") -; (gtk_accel_path "/DirViewActions/OpenAlternate" "o") -; (gtk_accel_path "/ShellActions/Preferences" "") -; (gtk_accel_path "/DirViewActions/Poll" "") -; (gtk_accel_path "/DirViewActions/Select Pattern" "s") -; (gtk_accel_path "/DesktopViewActions/Change Background" "") -; (gtk_accel_path "/IconViewActions/Reversed Order" "") -; (gtk_accel_path "/ShellActions/Go to Computer" "") -; (gtk_accel_path "/DirViewActions/Restore From Trash" "") -; (gtk_accel_path "/DirViewActions/Location Stop Volume" "") -; (gtk_accel_path "/DirViewActions/LocationProperties" "") -; (gtk_accel_path "/DirViewActions/Rename" "F2") -; (gtk_accel_path "/DirViewActions/Redo" "y") -; (gtk_accel_path "/ShellActions/Go to Templates" "") -; (gtk_accel_path "/ShellActions/Show Hidden Files" "h") -; (gtk_accel_path "/DirViewActions/Self Start Volume" "") -; (gtk_accel_path "/DirViewActions/Move to next pane" "") -; (gtk_accel_path "/DirViewActions/OpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/LocationOpenInNewTab" "") -; (gtk_accel_path "/DirViewActions/Duplicate" "") -; (gtk_accel_path "/DirViewActions/Eject Volume" "") -; (gtk_accel_path "/DirViewActions/Stop Volume" "") -; (gtk_accel_path "/DirViewActions/PropertiesAccel" "i") -; (gtk_accel_path "/ShellActions/Home" "Home") -; (gtk_accel_path "/IconViewActions/Clean Up" "") -; (gtk_accel_path "/IconViewActions/Sort by Modification Date" "") -; (gtk_accel_path "/DirViewActions/Save Search As" "") -; (gtk_accel_path "/IconViewActions/Keep Aligned" "") -; (gtk_accel_path "/DirViewActions/New Launcher" "") -; (gtk_accel_path "/DirViewActions/Properties" "Return") -; (gtk_accel_path "/SpatialActions/Add Bookmark" "d") -; (gtk_accel_path "/DirViewActions/Copy to Desktop" "") -; (gtk_accel_path "/ShellActions/Stop" "") -; (gtk_accel_path "/DirViewActions/New Folder" "n") -; (gtk_accel_path "/DirViewActions/Self Poll" "") -; (gtk_accel_path "/DirViewActions/Move to Desktop" "") -; (gtk_accel_path "/DirViewActions/Cut" "x") -; (gtk_accel_path "/view_as_4" "4") -; (gtk_accel_path "/DirViewActions/Delete" "Delete") -; (gtk_accel_path "/DesktopViewActions/New Launcher Desktop" "") -; (gtk_accel_path "/IconViewActions/Sort by Name" "") -; (gtk_accel_path "/view_as_2" "2") -; (gtk_accel_path "/view_as_3" "3") -; (gtk_accel_path "/DirViewActions/Paste" "v") -; (gtk_accel_path "/DirViewActions/Invert Selection" "i") -; (gtk_accel_path "/view_as_1" "1") -; (gtk_accel_path "/DesktopViewActions/Empty Trash Conditional" "") -; (gtk_accel_path "/IconViewActions/Arrange Items" "") -; (gtk_accel_path "/DirViewActions/Self Stop Volume" "") -; (gtk_accel_path "/SpatialActions/Places" "") -; (gtk_accel_path "/SpatialActions/Edit Bookmarks" "b") -; (gtk_accel_path "/DirViewActions/Copy to Home" "") -; (gtk_accel_path "/DirViewActions/Self Mount Volume" "") -; (gtk_accel_path "/SpatialActions/Search" "f") -; (gtk_accel_path "/DirViewActions/Self Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy to next pane" "") -; (gtk_accel_path "/DirViewActions/LocationOpenAlternate" "") diff --git a/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata b/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata deleted file mode 100644 index e1f9d17..0000000 --- a/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata +++ /dev/null @@ -1,23 +0,0 @@ -[directory] -caja-icon-view-keep-aligned=true -caja-icon-view-layout-timestamp=1441316522 - -[trash] -caja-icon-position=64,302 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[computer] -caja-icon-position=64,22 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[home] -caja-icon-position=64,102 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[openSUSE 13.2 KDE Live.volume] -caja-icon-position=64,382 -icon-scale=1 -caja-icon-position-timestamp=1441316562 diff --git a/configs/mate-openrc/root-image/etc/skel/.config/dconf/user b/configs/mate-openrc/root-image/etc/skel/.config/dconf/user deleted file mode 100644 index e14186e..0000000 Binary files a/configs/mate-openrc/root-image/etc/skel/.config/dconf/user and /dev/null differ diff --git a/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini deleted file mode 100644 index d4c8858..0000000 --- a/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini +++ /dev/null @@ -1,11 +0,0 @@ -[Filechooser Settings] -LocationMode=path-bar -ShowHidden=false -ShowSizeColumn=true -GeometryX=52 -GeometryY=105 -GeometryWidth=920 -GeometryHeight=585 -SortColumn=name -SortOrder=ascending -StartupMode=recent diff --git a/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon b/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon deleted file mode 100644 index 588b9dd..0000000 --- a/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon +++ /dev/null @@ -1,25 +0,0 @@ -[Alsa] -card=default - -[Notification] -show_notification=true -notification_type=0 - -[StatusIcon] -stepsize=5 -onclick=xterm -e 'alsamixer' -theme=Default -use_panel_specific_icons=false -lmb_slider=false -mmb_mute=false -use_horizontal_slider=false -show_sound_level=false -use_transparent_background=false - -[Hotkeys] -up_enabled=false -down_enabled=false -mute_enabled=false -up=XF86AudioRaiseVolume -down=XF86AudioLowerVolume -mute=XF86AudioMute diff --git a/configs/mate-openrc/root-image/etc/skel/.directory b/configs/mate-openrc/root-image/etc/skel/.directory deleted file mode 100644 index 07c52ff..0000000 --- a/configs/mate-openrc/root-image/etc/skel/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2014,12,3,17,12,32 -Version=3 - -[Settings] -HiddenFilesShown=true diff --git a/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel b/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel deleted file mode 100644 index 8c45359..0000000 --- a/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel +++ /dev/null @@ -1 +0,0 @@ -%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules deleted file mode 100644 index 970da69..0000000 --- a/configs/mate-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/mate-openrc/root-image/etc/wallpaper.png b/configs/mate-openrc/root-image/etc/wallpaper.png deleted file mode 100644 index d74092f..0000000 Binary files a/configs/mate-openrc/root-image/etc/wallpaper.png and /dev/null differ diff --git a/configs/mate-openrc/root-image/root/.automated_script.sh b/configs/mate-openrc/root-image/root/.automated_script.sh deleted file mode 100755 index fb106da..0000000 --- a/configs/mate-openrc/root-image/root/.automated_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -script_cmdline () -{ - local param - for param in $(< /proc/cmdline); do - case "${param}" in - script=*) echo "${param##*=}" ; return 0 ;; - esac - done -} - -automated_script () -{ - local script rt - script="$(script_cmdline)" - if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then - if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then - wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null - rt=$? - else - cp "${script}" /tmp/startup_script - rt=$? - fi - if [[ ${rt} -eq 0 ]]; then - chmod +x /tmp/startup_script - /tmp/startup_script - fi - fi -} - -if [[ $(tty) == "/dev/tty1" ]]; then - automated_script -fi diff --git a/configs/mate-openrc/root-image/root/.codecheck b/configs/mate-openrc/root-image/root/.codecheck deleted file mode 100644 index 7c5d84a..0000000 --- a/configs/mate-openrc/root-image/root/.codecheck +++ /dev/null @@ -1,2 +0,0 @@ -LANG=0 -XKBMAP=us diff --git a/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop b/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop deleted file mode 100755 index f55da1d..0000000 --- a/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Exec=/root/.keymap.sh -Hidden=false -X-MATE-Autostart-enabled=true -Name=keymap -Comment= diff --git a/configs/mate-openrc/root-image/root/.config/caja/accels b/configs/mate-openrc/root-image/root/.config/caja/accels deleted file mode 100644 index 18bc53a..0000000 --- a/configs/mate-openrc/root-image/root/.config/caja/accels +++ /dev/null @@ -1,173 +0,0 @@ -; caja GtkAccelMap rc-file -*- scheme -*- -; this file is an automated accelerator map dump -; -; (gtk_accel_path "/DirViewActions/Trash" "") -; (gtk_accel_path "/DirViewActions/Save Search" "") -; (gtk_accel_path "/IconViewActions/Sort by Emblems" "") -; (gtk_accel_path "/DirViewActions/Start Volume" "") -; (gtk_accel_path "/NavigationActions/TabsNext" "Page_Down") -; (gtk_accel_path "/DirViewActions/Location Poll" "") -; (gtk_accel_path "/ShellActions/Go to Trash" "") -; (gtk_accel_path "/SpatialActions/Go to Location" "l") -; (gtk_accel_path "/IconViewActions/Stretch" "") -; (gtk_accel_path "/DirViewActions/MoveToMenu" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel" "equal") -; (gtk_accel_path "/DirViewActions/LocationTrash" "") -; (gtk_accel_path "/DirViewActions/RenameSelectAll" "F2") -; (gtk_accel_path "/ShellActions/About Caja" "") -; (gtk_accel_path "/DirViewActions/Undo" "z") -; (gtk_accel_path "/NavigationActions/Back" "Left") -; (gtk_accel_path "/DirViewActions/Location Start Volume" "") -; (gtk_accel_path "/DirViewActions/CopyToMenu" "") -; (gtk_accel_path "/NavigationActions/Tab2" "3") -; (gtk_accel_path "/DirViewActions/LocationRestoreFromTrash" "") -; (gtk_accel_path "/DirViewActions/Empty Trash" "") -; (gtk_accel_path "/ShellActions/Close" "w") -; (gtk_accel_path "/NavigationActions/Add Bookmark" "d") -; (gtk_accel_path "/IconViewActions/Manual Layout" "") -; (gtk_accel_path "/ExtensionsMenuGroup/CajaOpenTerminal::open_terminal" "") -; (gtk_accel_path "/ShellActions/Zoom Normal" "0") -; (gtk_accel_path "/NavigationActions/Tab1" "2") -; (gtk_accel_path "/NavigationActions/Show Hide Extra Pane" "F3") -; (gtk_accel_path "/DirViewActions/Create Link" "m") -; (gtk_accel_path "/DirViewActions/LocationDelete" "") -; (gtk_accel_path "/DirViewActions/Format Volume" "") -; (gtk_accel_path "/IconViewActions/Sort by Trash Time" "") -; (gtk_accel_path "/DirViewActions/OpenInNewTab" "o") -; (gtk_accel_path "/DirViewActions/OtherApplication2" "") -; (gtk_accel_path "/DirViewActions/OtherApplication1" "") -; (gtk_accel_path "/DirViewActions/Mount Volume" "") -; (gtk_accel_path "/NavigationActions/Folder Window" "") -; (gtk_accel_path "/NavigationActions/Show Hide Statusbar" "") -; (gtk_accel_path "/ShellActions/Connect to Server" "") -; (gtk_accel_path "/ShellActions/Help" "") -; (gtk_accel_path "/NavigationActions/Tab6" "7") -; (gtk_accel_path "/NavigationActions/Clear History" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel2" "KP_Add") -; (gtk_accel_path "/IconViewActions/Sort by Type" "") -; (gtk_accel_path "/NavigationActions/Tab7" "8") -; (gtk_accel_path "/NavigationActions/ShowSearch" "f") -; (gtk_accel_path "/NavigationActions/Tab9" "0") -; (gtk_accel_path "/NavigationActions/Tab8" "9") -; (gtk_accel_path "/SpatialActions/Close All Folders" "q") -; (gtk_accel_path "/ShellActions/File" "") -; (gtk_accel_path "/NavigationActions/Tab5" "6") -; (gtk_accel_path "/NavigationActions/Tab4" "5") -; (gtk_accel_path "/NavigationActions/Tab3" "4") -; (gtk_accel_path "/NavigationActions/TabsMoveRight" "Page_Down") -; (gtk_accel_path "/NavigationActions/TabsPrevious" "Page_Up") -; (gtk_accel_path "/ShellActions/Go to Network" "") -; (gtk_accel_path "/ShellActions/Caja Manual" "F1") -; (gtk_accel_path "/ClipboardActions/Paste" "v") -; (gtk_accel_path "/DirViewActions/Copy" "c") -; (gtk_accel_path "/ShellActions/View" "") -; (gtk_accel_path "/DirViewActions/New Empty File" "") -; (gtk_accel_path "/NavigationActions/Tab0" "1") -; (gtk_accel_path "/DirViewActions/Location Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Unstretch" "") -; (gtk_accel_path "/ShellActions/Zoom Out" "minus") -; (gtk_accel_path "/NavigationActions/Show Hide Location Bar" "") -; (gtk_accel_path "/DirViewActions/OpenCloseParent" "Down") -; (gtk_accel_path "/SpatialActions/Close Parent Folders" "w") -; (gtk_accel_path "/DirViewActions/Open" "o") -; (gtk_accel_path "/DirViewActions/Self Format Volume" "") -; (gtk_accel_path "/NavigationActions/Bookmarks" "") -; (gtk_accel_path "/DirViewActions/Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Connect To Server Link" "") -; (gtk_accel_path "/DirViewActions/Location Mount Volume" "") -; (gtk_accel_path "/DirViewActions/Location Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Reset to Defaults" "") -; (gtk_accel_path "/DirViewActions/LocationOpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/Paste Files Into" "") -; (gtk_accel_path "/DirViewActions/LocationCut" "") -; (gtk_accel_path "/ShellActions/Zoom In" "plus") -; (gtk_accel_path "/DirViewActions/Self Eject Volume" "") -; (gtk_accel_path "/NavigationActions/SplitViewNextPane" "F6") -; (gtk_accel_path "/ClipboardActions/Select All" "a") -; (gtk_accel_path "/IconViewActions/Tighter Layout" "") -; (gtk_accel_path "/NavigationActions/Edit Bookmarks" "b") -; (gtk_accel_path "/DirViewActions/LocationCopy" "") -; (gtk_accel_path "/ClipboardActions/Copy" "c") -; (gtk_accel_path "/DirViewActions/OpenAccel" "Down") -; (gtk_accel_path "/DirViewActions/Open With" "") -; (gtk_accel_path "/ShellActions/Edit" "") -; (gtk_accel_path "/ShellActions/Up" "Up") -; (gtk_accel_path "/DirViewActions/Open Scripts Folder" "") -; (gtk_accel_path "/ClipboardActions/Cut" "x") -; (gtk_accel_path "/NavigationActions/Forward" "Right") -; (gtk_accel_path "/DirViewActions/New Documents" "") -; (gtk_accel_path "/NavigationActions/Go to Location" "l") -; (gtk_accel_path "/ShellActions/Reload" "r") -; (gtk_accel_path "/DirViewActions/Move to Home" "") -; (gtk_accel_path "/ShellActions/Backgrounds and Emblems" "") -; (gtk_accel_path "/DirViewActions/No Templates" "") -; (gtk_accel_path "/DirViewActions/Location Format Volume" "") -; (gtk_accel_path "/ShellActions/ZoomOutAccel" "KP_Subtract") -; (gtk_accel_path "/NavigationActions/SplitViewSameLocation" "") -; (gtk_accel_path "/DirViewActions/LocationPasteFilesInto" "") -; (gtk_accel_path "/IconViewActions/Sort by Size" "") -; (gtk_accel_path "/DirViewActions/Select All" "a") -; (gtk_accel_path "/DirViewActions/OpenAlternate" "o") -; (gtk_accel_path "/ShellActions/Preferences" "") -; (gtk_accel_path "/DirViewActions/Poll" "") -; (gtk_accel_path "/DirViewActions/Select Pattern" "s") -; (gtk_accel_path "/DesktopViewActions/Change Background" "") -; (gtk_accel_path "/IconViewActions/Reversed Order" "") -; (gtk_accel_path "/ShellActions/Go to Computer" "") -; (gtk_accel_path "/NavigationActions/Go" "") -; (gtk_accel_path "/DirViewActions/Restore From Trash" "") -; (gtk_accel_path "/DirViewActions/Location Stop Volume" "") -; (gtk_accel_path "/DirViewActions/LocationProperties" "") -; (gtk_accel_path "/DirViewActions/Rename" "F2") -; (gtk_accel_path "/DirViewActions/Redo" "y") -; (gtk_accel_path "/ShellActions/Go to Templates" "") -; (gtk_accel_path "/DirViewActions/LocationOpenInNewTab" "") -; (gtk_accel_path "/DirViewActions/Self Start Volume" "") -; (gtk_accel_path "/DirViewActions/Move to next pane" "") -; (gtk_accel_path "/DirViewActions/OpenFolderWindow" "") -; (gtk_accel_path "/ShellActions/Show Hidden Files" "h") -; (gtk_accel_path "/DirViewActions/Stop Volume" "") -; (gtk_accel_path "/DirViewActions/Duplicate" "") -; (gtk_accel_path "/DirViewActions/Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Clean Up" "") -; (gtk_accel_path "/NavigationActions/New Tab" "t") -; (gtk_accel_path "/ShellActions/Home" "Home") -; (gtk_accel_path "/NavigationActions/New Window" "n") -; (gtk_accel_path "/DirViewActions/PropertiesAccel" "i") -; (gtk_accel_path "/IconViewActions/Sort by Modification Date" "") -; (gtk_accel_path "/DirViewActions/Save Search As" "") -; (gtk_accel_path "/IconViewActions/Keep Aligned" "") -; (gtk_accel_path "/DirViewActions/New Launcher" "") -; (gtk_accel_path "/NavigationActions/Search" "") -; (gtk_accel_path "/DirViewActions/Properties" "Return") -; (gtk_accel_path "/SpatialActions/Add Bookmark" "d") -; (gtk_accel_path "/NavigationActions/TabsMoveLeft" "Page_Up") -; (gtk_accel_path "/DirViewActions/Copy to Desktop" "") -; (gtk_accel_path "/ShellActions/Stop" "") -; (gtk_accel_path "/DirViewActions/New Folder" "n") -; (gtk_accel_path "/DirViewActions/Self Poll" "") -; (gtk_accel_path "/DirViewActions/Move to Desktop" "") -; (gtk_accel_path "/DirViewActions/Cut" "x") -; (gtk_accel_path "/view_as_4" "4") -; (gtk_accel_path "/DirViewActions/Delete" "Delete") -; (gtk_accel_path "/DesktopViewActions/New Launcher Desktop" "") -; (gtk_accel_path "/IconViewActions/Sort by Name" "") -; (gtk_accel_path "/view_as_2" "2") -; (gtk_accel_path "/view_as_3" "3") -; (gtk_accel_path "/DirViewActions/Paste" "v") -; (gtk_accel_path "/DirViewActions/Invert Selection" "i") -; (gtk_accel_path "/view_as_1" "1") -; (gtk_accel_path "/DesktopViewActions/Empty Trash Conditional" "") -; (gtk_accel_path "/NavigationActions/Close All Windows" "q") -; (gtk_accel_path "/IconViewActions/Arrange Items" "") -; (gtk_accel_path "/NavigationActions/Show Hide Sidebar" "F9") -; (gtk_accel_path "/DirViewActions/Self Stop Volume" "") -; (gtk_accel_path "/SpatialActions/Places" "") -; (gtk_accel_path "/SpatialActions/Edit Bookmarks" "b") -; (gtk_accel_path "/NavigationActions/Show Hide Toolbar" "") -; (gtk_accel_path "/DirViewActions/Copy to Home" "") -; (gtk_accel_path "/DirViewActions/Self Mount Volume" "") -; (gtk_accel_path "/SpatialActions/Search" "f") -; (gtk_accel_path "/DirViewActions/Self Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy to next pane" "") -; (gtk_accel_path "/DirViewActions/LocationOpenAlternate" "") diff --git a/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata b/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata deleted file mode 100644 index 9ac6828..0000000 --- a/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata +++ /dev/null @@ -1,24 +0,0 @@ -[directory] -caja-icon-view-keep-aligned=true -caja-icon-view-layout-timestamp=1441319556 -caja-window-scroll-position=file:///root/Desktop/Parabola%20Installation%20CLI.desktop - -[trash] -caja-icon-position=64,302 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[computer] -caja-icon-position=64,22 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[home] -caja-icon-position=64,102 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[openSUSE 13.2 KDE Live.volume] -caja-icon-position=64,382 -icon-scale=1 -caja-icon-position-timestamp=1441319577 diff --git a/configs/mate-openrc/root-image/root/.config/dconf/user b/configs/mate-openrc/root-image/root/.config/dconf/user deleted file mode 100644 index dab7f59..0000000 Binary files a/configs/mate-openrc/root-image/root/.config/dconf/user and /dev/null differ diff --git a/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini deleted file mode 100644 index c6b458d..0000000 --- a/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini +++ /dev/null @@ -1,11 +0,0 @@ -[Filechooser Settings] -LocationMode=path-bar -ShowHidden=true -ShowSizeColumn=true -GeometryX=52 -GeometryY=86 -GeometryWidth=920 -GeometryHeight=585 -SortColumn=name -SortOrder=ascending -StartupMode=recent diff --git a/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon b/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon deleted file mode 100644 index 588b9dd..0000000 --- a/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon +++ /dev/null @@ -1,25 +0,0 @@ -[Alsa] -card=default - -[Notification] -show_notification=true -notification_type=0 - -[StatusIcon] -stepsize=5 -onclick=xterm -e 'alsamixer' -theme=Default -use_panel_specific_icons=false -lmb_slider=false -mmb_mute=false -use_horizontal_slider=false -show_sound_level=false -use_transparent_background=false - -[Hotkeys] -up_enabled=false -down_enabled=false -mute_enabled=false -up=XF86AudioRaiseVolume -down=XF86AudioLowerVolume -mute=XF86AudioMute diff --git a/configs/mate-openrc/root-image/root/.directory b/configs/mate-openrc/root-image/root/.directory deleted file mode 100644 index af61e27..0000000 --- a/configs/mate-openrc/root-image/root/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2014,12,3,11,8,28 -Version=3 - -[Settings] -HiddenFilesShown=true diff --git a/configs/mate-openrc/root-image/root/.keymap.sh b/configs/mate-openrc/root-image/root/.keymap.sh deleted file mode 100755 index f844af6..0000000 --- a/configs/mate-openrc/root-image/root/.keymap.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -list_keymaps() { -cat <> ~/.codecheck -elif [[ $code != "" ]]; then - setxkbmap $code -fi diff --git a/configs/mate-openrc/root-image/root/.language.sh b/configs/mate-openrc/root-image/root/.language.sh deleted file mode 100755 index 782d198..0000000 --- a/configs/mate-openrc/root-image/root/.language.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -finish=0 #If change locale the system need restart session to see the changes - -#Comprobe if language was selected -code=$(cat ~/.codecheck | grep LANG= | tail --bytes 2) -if [ $code = "0" ]; then - lang=$(dialog --stdout --backtitle "System language selection" --menu "Choose your language:" 15 40 10 \ - "en_US.UTF-8" "English" \ - "gl_ES.UTF-8" "Galego" \ - "es_ES.UTF-8" "Spanish" \ - "pt_BR.UTF-8" "Brazilian Portuguese" \ - "pl_PL.UTF-8" "Polish" \ - "it_IT.UTF-8" "Italian" \ - "fr_FR.UTF-8" "French" \ - "eo" "Esperanto") - - #Copy locale in locale.conf - echo "LANG=$lang" > /etc/locale.conf - - #Put a new line confirm that language was selected - sed -i '/LANG=./d' ~/.codecheck - echo "LANG=1" >> ~/.codecheck - - #Copy icewm menu in that language and scripts to install - cp -a ~/.icewm/menuLanguages/menu_${lang/_*/} ~/.icewm/menu - cp -a ~/.scriptsInstallation/language/${lang/_*/}/* ~/.scriptsInstallation/ - - finish=1 -fi diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh deleted file mode 100755 index efb389b..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh +++ /dev/null @@ -1,217 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Select Hard Disk" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "Partitioning method" 20 70 50 \ - 1 "Use all disk with swap (1GB) and /" \ - 2 "Use gparted to customize" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Mount / Partition" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "Mount other partition?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Mount /home Partition" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount /boot Partition" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "Parabola Installation CLI" 20 70 50 \ - 1 "Format and Mount Partitions" \ - 2 "Install Base System" \ - 3 "Install GRUB" \ - 4 "System Configure" \ - 5 "Create User Account" \ - 6 "(Optional) Install Live DVD Desktop/Applications" \ - 7 "Exit" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt base-openrc dbus-elogind - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Enter an User Name" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - 6) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-applets" - "mate-terminal" - "caja" - "volumeicon" - "zenity" - "octopi" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "iceweasel" - "icedove" - "pidgin" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "openrc-desktop" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copie skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Puts the XKBMAP, start X11 automatically and icewm desktop - echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc - echo "exec mate-session" >> /mnt/etc/skel/.xinitrc - echo "startx" >> /mnt/etc/skel/.bash_profile - chmod +x /mnt/etc/skel/.xinitrc - cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with OpenRC - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh deleted file mode 100755 index 9ef90ac..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh +++ /dev/null @@ -1,271 +0,0 @@ -#!/bin/bash - -HOSTNAME=$(echo "$(dialog --stdout --inputbox "Enter Hostname:" 8 40)" > /etc/hostname) -sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Enter your Zone Time:\nFor example: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Select Keymap" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Select Locales" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Select your language" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insert root password" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite root password" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh deleted file mode 100755 index a9551d8..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Insert ${user#*=} password" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Reply password" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh deleted file mode 100755 index 8d47f10..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh +++ /dev/null @@ -1,217 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ - 1 "Usar todo el disco con swap (1GB) and /" \ - 2 "Usar gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "¿Montar otra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ - 1 "Formatear y Montar Particiones" \ - 2 "Instalar Sistema Base" \ - 3 "Instalar GRUB" \ - 4 "ConfiguraciĂ³n del Sistema" \ - 5 "Crear Cuenta de Usuario" \ - 6 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \ - 7 "Salir" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt base-openrc dbus-elogind - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - 6) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-applets" - "mate-terminal" - "caja" - "volumeicon" - "zenity" - "octopi" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "iceweasel" - "icedove" - "pidgin" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "openrc-desktop" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copie skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Puts the XKBMAP, start X11 automatically and icewm desktop - echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc - echo "exec mate-session" >> /mnt/etc/skel/.xinitrc - echo "startx" >> /mnt/etc/skel/.bash_profile - chmod +x /mnt/etc/skel/.xinitrc - cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with OpenRC - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh deleted file mode 100755 index 13e245b..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh +++ /dev/null @@ -1,271 +0,0 @@ -#!/bin/bash - -HOSTNAME=$(echo "$(dialog --stdout --inputbox "Introduce el nombre del sistema:" 8 40)") -sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce la Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona la distribucion del teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Selecciona las Localizaciones" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Selecciona tu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Inserta la contraseña para el administrador" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite la contraseña para el administrador" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh deleted file mode 100755 index 4ed7437..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Introduce la contraseñara para el usuario ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite la contraseña" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh deleted file mode 100755 index a2c1caf..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh +++ /dev/null @@ -1,216 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ - 1 "Usar todo o disco con swap (1GB) and /" \ - 2 "Usar gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "¿Montar outra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ - 1 "Formatear e Montar Particiones" \ - 2 "Instalar Sistema Base" \ - 3 "Instalar GRUB" \ - 4 "ConfiguraciĂ³n do Sistema" \ - 5 "Crear Conta de Usuario" \ - 6 "(Opcional) Instalar Escritorio/Aplicaciones de Live DVD" \ - 7 "Salir" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt base-openrc dbus-elogind - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Introduce un nome de usuario" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - 6) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-applets" - "mate-terminal" - "caja" - "volumeicon" - "zenity" - "octopi" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "iceweasel" - "icedove" - "pidgin" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "openrc-desktop" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copie skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Puts the XKBMAP, start X11 automatically and icewm desktop - echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc - echo "exec mate-session" >> /mnt/etc/skel/.xinitrc - echo "startx" >> /mnt/etc/skel/.bash_profile - chmod +x /mnt/etc/skel/.xinitrc - cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with OpenRC - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh deleted file mode 100755 index 14836e6..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh +++ /dev/null @@ -1,271 +0,0 @@ -#!/bin/bash - -HOSTNAME=$( "$(dialog --stdout --inputbox "Introduce o nome do sistema:" 8 40)") -sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce a Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona a distribucion do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Selecciona as Localizacions" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Selecciona o teu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insire o contrasinal para o administrador" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite o contrasinal para o administrador" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh deleted file mode 100755 index aa1d33a..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Introduce o contrasinal para o usuario ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite o contrasinal" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh deleted file mode 100755 index 0474fac..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh +++ /dev/null @@ -1,217 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Escolha o Disco" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "MĂ©todo de Particionamento" 20 70 50 \ - 1 "Usar todo o disco com o swap (1GB) e /" \ - 2 "Usar o gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "Quer montar outra partiĂ§Ă£o?" 20 70 50 1 "/home" 2 "/boot" 3 "NĂ£o") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaĂ§Ă£o CLI da Parabola" 20 70 50 \ - 1 "Formatar e Montar as Partições" \ - 2 "Instalar o Sistema Base" \ - 3 "Instalar o GRUB" \ - 4 "ConfiguraĂ§Ă£o do Sistema" \ - 5 "Adicionar uma Conta de UsuĂ¡rio" \ - 6 "(Opcional) Instalar Ambiente GrĂ¡fico/Aplicativos da Live DVD" \ - 7 "Sair" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt base-openrc dbus-elogind - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Insira o nome do usuĂ¡rio" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - 6) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-applets" - "mate-terminal" - "caja" - "volumeicon" - "zenity" - "octopi" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "iceweasel" - "icedove" - "pidgin" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "openrc-desktop" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copie skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Puts the XKBMAP, start X11 automatically and icewm desktop - echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc - echo "exec mate-session" >> /mnt/etc/skel/.xinitrc - echo "startx" >> /mnt/etc/skel/.bash_profile - chmod +x /mnt/etc/skel/.xinitrc - cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with OpenRC - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh deleted file mode 100755 index 44d251b..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh +++ /dev/null @@ -1,271 +0,0 @@ -#!/bin/bash - -HOSTNAME=$(echo "$(dialog --stdout --inputbox "Adicione o nome do sistema:" 8 40)") -sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Adicione o Fuso HorĂ¡rio:\nPor exemplo: America/Sao_Paulo" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Escolha a distribuiĂ§Ă£o do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Escolha as Localizações" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Escolha a sua lĂ­ngua" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insira a senha para o root" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repita a senha para o root" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh deleted file mode 100755 index 408beba..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Insira a senha para o usuĂ¡rio ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repita a senha" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -exit diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png b/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png deleted file mode 100644 index aed32d7..0000000 Binary files a/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png and /dev/null differ diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh deleted file mode 100755 index a335cec..0000000 --- a/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -service NetworkManager start diff --git a/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme b/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme deleted file mode 100644 index d6b2393..0000000 --- a/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=Parabola -Type=X-GNOME-Metatheme -Comment= - -[X-GNOME-Metatheme] -GtkTheme=Radiance-Purple -MetacityTheme=Radiance-Purple -IconTheme=RAVE-X-Dark-Purple -GtkColorScheme=base_color:#ffffff,fg_color:#4c4c4c,tooltip_fg_color:#ffffff,selected_bg_color:#7E5BC5,selected_fg_color:#FFFFFF,text_color:#3C3C3C,bg_color:#F6F6F6,tooltip_bg_color:#000000,link_color:#9D7EDA -CursorTheme=mate -CursorSize=18 -BackgroundImage=/etc/wallpaper.png diff --git a/configs/mate-openrc/root-image/root/.xinitrc b/configs/mate-openrc/root-image/root/.xinitrc deleted file mode 100644 index 20fc29e..0000000 --- a/configs/mate-openrc/root-image/root/.xinitrc +++ /dev/null @@ -1,12 +0,0 @@ -setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2) -service NetworkManager start -service dbus start -service alsasound start -volumeicon & -gsettings set org.mate.interface gtk-theme 'Radiance-Purple' -gsettings set org.mate.Marco.general theme 'Radiance-Purple' -gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' -gsettings set org.mate.peripherals-mouse cursor-size '18' -gsettings set org.mate.peripherals-mouse cursor-theme 'mate' -gsettings set org.mate.background picture-filename '/etc/wallpaper.png' -exec mate-session diff --git a/configs/mate-openrc/root-image/root/.zlogin b/configs/mate-openrc/root-image/root/.zlogin deleted file mode 100644 index b24dba9..0000000 --- a/configs/mate-openrc/root-image/root/.zlogin +++ /dev/null @@ -1,4 +0,0 @@ -~/.automated_script.sh -~/.language.sh -export $(cat /etc/locale.conf) -startx diff --git a/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop b/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop deleted file mode 100755 index 9a2d871..0000000 --- a/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Version=1.0 -Type=Application -Terminal=true -Name[es_ES]=Instalador CLI de Parabola -Name[gl_ES]=Instalador CLI de Parabola -Name[pt_BR]=Instalador CLI da Parabola -Exec=/root/.scriptsInstallation/install.sh -Name=Parabola Installation CLI -Comment=Parabola Installation Scripts -Icon=/root/.scriptsInstallation/parabolaicon.png diff --git a/configs/mate-openrc/root-image/root/customize_root_image.sh b/configs/mate-openrc/root-image/root/customize_root_image.sh deleted file mode 100755 index 24318a5..0000000 --- a/configs/mate-openrc/root-image/root/customize_root_image.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -set -e -u - -check_dbus() { - cat /etc/$1|grep dbus -} - -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 -if [[ $(check_dbus group) = "" ]]; then - echo "Creating dbus group" - groupadd -g 81 dbus -fi -if [[ $(check_dbus passwd) = "" ]]; then - echo "Creating dbus user" - useradd -r -s /sbin/nologin -g 81 -u 81 dbus -fi - -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 diff --git a/configs/mate-openrc/syslinux/parabolaiso.cfg b/configs/mate-openrc/syslinux/parabolaiso.cfg deleted file mode 100644 index 473e245..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT select - -LABEL select -COM32 boot/syslinux/whichsys.c32 -APPEND -pxe- pxe -sys- sys -iso- sys - -LABEL pxe -CONFIG boot/syslinux/parabolaiso_pxe_choose.cfg - -LABEL sys -CONFIG boot/syslinux/parabolaiso_sys_choose.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_head.cfg b/configs/mate-openrc/syslinux/parabolaiso_head.cfg deleted file mode 100644 index a245309..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_head.cfg +++ /dev/null @@ -1,25 +0,0 @@ -SERIAL 0 38400 -UI boot/syslinux/vesamenu.c32 -MENU TITLE Parabola GNU/Linux-libre -MENU BACKGROUND boot/syslinux/splash.png - -MENU WIDTH 78 -MENU MARGIN 4 -MENU ROWS 7 -MENU VSHIFT 10 -MENU TABMSGROW 14 -MENU CMDLINEROW 14 -MENU HELPMSGROW 16 -MENU HELPMSGENDROW 29 - -# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu - -MENU COLOR border 35;40 #ff777caa #a0000000 std -MENU COLOR title 1;35;40 #ff777caa #a0000000 std -MENU COLOR sel 7;35;47 #e0ffffff #20777caa all -MENU COLOR unsel 35;40 #ff777caa #a0000000 std -MENU COLOR help 35;40 #c0b2b2b2 #a0000000 std -MENU COLOR timeout_msg 35;40 #ff777caa #00000000 std -MENU COLOR timeout 1;35;40 #ff777caa #00000000 std -MENU COLOR msg07 35;40 #ff777caa #a0000000 std -MENU COLOR tabmsg 35;40 #ff777caa #00000000 std diff --git a/configs/mate-openrc/syslinux/parabolaiso_pxe32.cfg b/configs/mate-openrc/syslinux/parabolaiso_pxe32.cfg deleted file mode 100644 index 9df86b7..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_pxe32.cfg +++ /dev/null @@ -1,32 +0,0 @@ -LABEL parabola32_nbd -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using NBD). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NBD) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} -SYSAPPEND 3 - -LABEL parabola32_nfs -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using NFS). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NFS) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt -SYSAPPEND 3 - -LABEL parabola32_http -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using HTTP). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (HTTP) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ -SYSAPPEND 3 diff --git a/configs/mate-openrc/syslinux/parabolaiso_pxe64.cfg b/configs/mate-openrc/syslinux/parabolaiso_pxe64.cfg deleted file mode 100644 index be3e3de..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_pxe64.cfg +++ /dev/null @@ -1,32 +0,0 @@ -LABEL parabola64_nbd -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NBD). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NBD) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} -SYSAPPEND 3 - -LABEL parabola64_nfs -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NFS). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NFS) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt -SYSAPPEND 3 - -LABEL parabola64_http -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using HTTP). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (HTTP) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ -SYSAPPEND 3 diff --git a/configs/mate-openrc/syslinux/parabolaiso_pxe_32_inc.cfg b/configs/mate-openrc/syslinux/parabolaiso_pxe_32_inc.cfg deleted file mode 100644 index ba514cb..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_pxe_32_inc.cfg +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_pxe32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_pxe_both_inc.cfg b/configs/mate-openrc/syslinux/parabolaiso_pxe_both_inc.cfg deleted file mode 100644 index 9396d9b..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_pxe_both_inc.cfg +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_pxe64.cfg -INCLUDE boot/syslinux/parabolaiso_pxe32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_pxe_choose.cfg b/configs/mate-openrc/syslinux/parabolaiso_pxe_choose.cfg deleted file mode 100644 index a3a768f..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_pxe_choose.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT choose - -LABEL choose -COM32 boot/syslinux/ifcpu64.c32 -APPEND have64 -- nohave64 - -LABEL have64 -CONFIG boot/syslinux/parabolaiso_pxe_both_inc.cfg - -LABEL nohave64 -CONFIG boot/syslinux/parabolaiso_pxe_32_inc.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_sys32.cfg b/configs/mate-openrc/syslinux/parabolaiso_sys32.cfg deleted file mode 100644 index 4abdf7a..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_sys32.cfg +++ /dev/null @@ -1,9 +0,0 @@ -LABEL parabola32 -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium. -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate-openrc/syslinux/parabolaiso_sys64.cfg b/configs/mate-openrc/syslinux/parabolaiso_sys64.cfg deleted file mode 100644 index b154459..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_sys64.cfg +++ /dev/null @@ -1,9 +0,0 @@ -LABEL parabola64 -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium. -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate-openrc/syslinux/parabolaiso_sys_32_inc.cfg b/configs/mate-openrc/syslinux/parabolaiso_sys_32_inc.cfg deleted file mode 100644 index c641201..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_sys_32_inc.cfg +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_sys32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_sys_both_inc.cfg b/configs/mate-openrc/syslinux/parabolaiso_sys_both_inc.cfg deleted file mode 100644 index 9dfb87f..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_sys_both_inc.cfg +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_sys64.cfg -INCLUDE boot/syslinux/parabolaiso_sys32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_sys_choose.cfg b/configs/mate-openrc/syslinux/parabolaiso_sys_choose.cfg deleted file mode 100644 index d436062..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_sys_choose.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT choose - -LABEL choose -COM32 boot/syslinux/ifcpu64.c32 -APPEND have64 -- nohave64 - -LABEL have64 -CONFIG boot/syslinux/parabolaiso_sys_both_inc.cfg - -LABEL nohave64 -CONFIG boot/syslinux/parabolaiso_sys_32_inc.cfg diff --git a/configs/mate-openrc/syslinux/parabolaiso_tail.cfg b/configs/mate-openrc/syslinux/parabolaiso_tail.cfg deleted file mode 100644 index e85d8e1..0000000 --- a/configs/mate-openrc/syslinux/parabolaiso_tail.cfg +++ /dev/null @@ -1,27 +0,0 @@ -LABEL existing -TEXT HELP -Boot an existing operating system. -Press TAB to edit the disk and partition number to boot. -ENDTEXT -MENU LABEL Boot existing OS -COM32 boot/syslinux/chain.c32 -APPEND hd0 0 - -# http://www.memtest.org/ -LABEL memtest -MENU LABEL Run Memtest86+ (RAM test) -LINUX boot/memtest - -# http://hdt-project.org/ -LABEL hdt -MENU LABEL Hardware Information (HDT) -COM32 boot/syslinux/hdt.c32 -APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz - -LABEL reboot -MENU LABEL Reboot -COM32 boot/syslinux/reboot.c32 - -LABEL poweroff -MENU LABEL Power Off -COM32 boot/syslinux/poweroff.c32 diff --git a/configs/mate-openrc/syslinux/splash.png b/configs/mate-openrc/syslinux/splash.png deleted file mode 100644 index ff1342f..0000000 Binary files a/configs/mate-openrc/syslinux/splash.png and /dev/null differ diff --git a/configs/mate-openrc/syslinux/syslinux.cfg b/configs/mate-openrc/syslinux/syslinux.cfg deleted file mode 100644 index 0869ed2..0000000 --- a/configs/mate-openrc/syslinux/syslinux.cfg +++ /dev/null @@ -1,5 +0,0 @@ -DEFAULT loadconfig - -LABEL loadconfig - CONFIG parabolaiso.cfg - APPEND ../../ diff --git a/configs/mate/aitab b/configs/mate/aitab deleted file mode 100644 index b7e9a17..0000000 --- a/configs/mate/aitab +++ /dev/null @@ -1,3 +0,0 @@ -# -root-image / i686 xz ext4 50% -root-image / x86_64 xz ext4 50% diff --git a/configs/mate/build.sh b/configs/mate/build.sh deleted file mode 100755 index d5a6036..0000000 --- a/configs/mate/build.sh +++ /dev/null @@ -1,254 +0,0 @@ -#!/bin/bash - -set -e -u - -iso_name=parabola-mate -iso_label="PARA_$(date +%Y%m)" -iso_version=$(date +%Y.%m.%d) -install_dir=parabola -work_dir=work -out_dir=out -data_dir=/usr/share/parabolaiso/data - -arch=$(uname -m) -verbose="" -pacman_conf=${work_dir}/pacman.conf -script_path=$(readlink -f ${0%/*}) -initcpio_dir=${script_path}/../../parabolaiso/initcpio - -_usage () -{ - echo "usage ${0} [options]" - echo - echo " General options:" - echo " -N Set an iso filename (prefix)" - echo " Default: ${iso_name}" - echo " -V Set an iso version (in filename)" - echo " Default: ${iso_version}" - echo " -L Set an iso label (disk label)" - echo " Default: ${iso_label}" - echo " -D Set an install_dir (directory inside iso)" - echo " Default: ${install_dir}" - echo " -w Set the working directory" - echo " Default: ${work_dir}" - echo " -o Set the output directory" - echo " Default: ${out_dir}" - echo " -v Enable verbose output" - echo " -h This help message" - exit ${1} -} - -# Helper function to run make_*() only one time per architecture. -run_once() { - if [[ ! -e ${work_dir}/build.${1}_${arch} ]]; then - $1 - touch ${work_dir}/build.${1}_${arch} - fi -} - -# Setup custom pacman.conf with current cache directories. -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} -} - -# Base installation, plus needed packages (root-image) -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 -} - -# Additional packages (root-image) -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 -} - -# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image) -make_setup_mkinitcpio() { - local _hook - 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 - 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 -} - -# Customize installation (root-image) -make_customize_root_image() { - cp -af ${script_path}/root-image ${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 -} - -# 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 -} - -# 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 -} - -# Prepare /${install_dir}/boot/syslinux -make_syslinux() { - mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux - for _cfg in ${script_path}/syslinux/*.cfg; do - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - 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 - 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 -} - -# Prepare /isolinux -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/ -} - -# Prepare /EFI -make_efi() { - mkdir -p ${work_dir}/iso/EFI/boot - cp ${work_dir}/x86_64/root-image/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/iso/EFI/boot/bootx64.efi - - mkdir -p ${work_dir}/iso/loader/entries - cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/iso/loader/entries/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/iso/loader/entries/ - - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - 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 -} - -# 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 - - mkdir -p ${work_dir}/efiboot - mount ${work_dir}/iso/EFI/parabolaiso/efiboot.img ${work_dir}/efiboot - - mkdir -p ${work_dir}/efiboot/EFI/parabolaiso - cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/parabolaiso/vmlinuz.efi - 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/root-image/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/efiboot/EFI/boot/bootx64.efi - - mkdir -p ${work_dir}/efiboot/loader/entries - cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/efiboot/loader/entries/ - cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/efiboot/loader/entries/ - - sed "s|%PARABOLAISO_LABEL%|${iso_label}|g; - s|%INSTALL_DIR%|${install_dir}|g" \ - ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-cd.conf > ${work_dir}/efiboot/loader/entries/parabolaiso-x86_64.conf - - 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 -} - -# 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) -make_prepare() { - cp -a -l -f ${work_dir}/${arch}/root-image ${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) -} - -# 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" -} - -if [[ ${EUID} -ne 0 ]]; then - echo "This script must be run as root." - _usage 1 -fi - -if [[ ${arch} != x86_64 ]]; then - echo "This script needs to be run on x86_64" - _usage 1 -fi - -while getopts 'N:V:L:D:w:o:vh' arg; do - case "${arg}" in - N) iso_name="${OPTARG}" ;; - V) iso_version="${OPTARG}" ;; - L) iso_label="${OPTARG}" ;; - D) install_dir="${OPTARG}" ;; - w) work_dir="${OPTARG}" ;; - o) out_dir="${OPTARG}" ;; - v) verbose="-v" ;; - h) _usage 0 ;; - *) - echo "Invalid argument '${arg}'" - _usage 1 - ;; - esac -done - -mkdir -p ${work_dir} - -run_once make_pacman_conf - -# Do all stuff for each root-image -for arch in i686 x86_64; do - run_once make_basefs - run_once make_packages - run_once make_setup_mkinitcpio - run_once make_customize_root_image -done - -for arch in i686 x86_64; do - run_once make_boot -done - -# Do all stuff for "iso" -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 -done - -run_once make_iso diff --git a/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-cd.conf b/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-cd.conf deleted file mode 100644 index 057e14f..0000000 --- a/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-cd.conf +++ /dev/null @@ -1,4 +0,0 @@ -title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI CD -linux /EFI/parabolaiso/vmlinuz.efi -initrd /EFI/parabolaiso/parabolaiso.img -options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-usb.conf b/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-usb.conf deleted file mode 100644 index 3863799..0000000 --- a/configs/mate/efiboot/loader/entries/parabolaiso-x86_64-usb.conf +++ /dev/null @@ -1,4 +0,0 @@ -title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI USB -linux /%INSTALL_DIR%/boot/x86_64/vmlinuz -initrd /%INSTALL_DIR%/boot/x86_64/parabolaiso.img -options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate/efiboot/loader/entries/uefi-shell-v1-x86_64.conf b/configs/mate/efiboot/loader/entries/uefi-shell-v1-x86_64.conf deleted file mode 100644 index 9597ff2..0000000 --- a/configs/mate/efiboot/loader/entries/uefi-shell-v1-x86_64.conf +++ /dev/null @@ -1,2 +0,0 @@ -title UEFI Shell x86_64 v1 -efi /EFI/shellx64_v1.efi diff --git a/configs/mate/efiboot/loader/entries/uefi-shell-v2-x86_64.conf b/configs/mate/efiboot/loader/entries/uefi-shell-v2-x86_64.conf deleted file mode 100644 index 0dde77a..0000000 --- a/configs/mate/efiboot/loader/entries/uefi-shell-v2-x86_64.conf +++ /dev/null @@ -1,2 +0,0 @@ -title UEFI Shell x86_64 v2 -efi /EFI/shellx64_v2.efi diff --git a/configs/mate/efiboot/loader/loader.conf b/configs/mate/efiboot/loader/loader.conf deleted file mode 100644 index ba02c50..0000000 --- a/configs/mate/efiboot/loader/loader.conf +++ /dev/null @@ -1,2 +0,0 @@ -timeout 3 -default parabolaiso-x86_64 diff --git a/configs/mate/isolinux/isolinux.cfg b/configs/mate/isolinux/isolinux.cfg deleted file mode 100644 index 10472fb..0000000 --- a/configs/mate/isolinux/isolinux.cfg +++ /dev/null @@ -1,6 +0,0 @@ -PATH /%INSTALL_DIR%/boot/syslinux/ -DEFAULT loadconfig - -LABEL loadconfig - CONFIG /%INSTALL_DIR%/boot/syslinux/parabolaiso.cfg - APPEND /%INSTALL_DIR%/ diff --git a/configs/mate/mkinitcpio.conf b/configs/mate/mkinitcpio.conf deleted file mode 100644 index 1006d1d..0000000 --- a/configs/mate/mkinitcpio.conf +++ /dev/null @@ -1,2 +0,0 @@ -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/mate/packages.both b/configs/mate/packages.both deleted file mode 100644 index f09f51e..0000000 --- a/configs/mate/packages.both +++ /dev/null @@ -1,135 +0,0 @@ -arch-install-scripts -btrfs-progs -crda -darkhttpd -ddrescue -dhclient -dialog -dmraid -dnsmasq -dnsutils -dosfstools -elinks -ethtool -f2fs-tools -fsarchiver -gnu-netcat -gpm -gptfdisk -grml-zsh-config -grub -haveged -hdparm -irssi -lftp -linux-atm -lynx -mc -mtools -nfs-utils -nilfs-utils -nmap -ntfs-3g -ntp -openconnect -openssh -openvpn -partclone -parted -partimage -pptpclient -ppp -rfkill -rp-pppoe -rsync -smartmontools -sudo -tcpdump -testdisk -usb_modeswitch -vpnc -wget -wireless_tools -wpa_actiond -wpa_supplicant -zile -wvdial -xl2tpd -zsh - -#X11 -xorg-server -xf86-video-amdgpu -xf86-video-ati -xf86-video-dummy -xf86-video-fbdev -xf86-video-intel -xf86-video-nouveau -xf86-video-openchrome -xf86-video-sisusb -xf86-video-vesa -xf86-video-vmware -xf86-video-voodoo -xf86-video-qxl -xorg-xinit - -#Plugins -gst-plugins-good -gst-libav - -#Window Manager -mate -mate-extra -caja -volumeicon -zenity -octopi -octopi-cachecleaner -octopi-notifier -octopi-repoeditor -ambiance-radiance-colors-suite -rave-x-colors - -#Sound -pulseaudio-alsa -alsa-utils - -#Network -networkmanager -network-manager-applet -ath9k-htc-firmware -gnome-keyring - -#Programs -iceweasel -icedove -pidgin -linphone -qtox -gparted -smplayer -epdfview -gpicview -abiword -gnumeric -leafpad -galculator-gtk2 -xarchiver -dmidecode - -#Compressor/archiver -p7zip -unar -unzip -zip - -#Fonts -ttf-dejavu - -#Languages -iceweasel-l10n-es-es -icedove-l10n-es-es -iceweasel-l10n-gl -icedove-l10n-gl -iceweasel-l10n-pt-br -icedove-l10n-pt-br diff --git a/configs/mate/packages.i686 b/configs/mate/packages.i686 deleted file mode 100644 index e69de29..0000000 diff --git a/configs/mate/packages.x86_64 b/configs/mate/packages.x86_64 deleted file mode 100644 index 804cc93..0000000 --- a/configs/mate/packages.x86_64 +++ /dev/null @@ -1 +0,0 @@ -refind-efi diff --git a/configs/mate/pacman.conf b/configs/mate/pacman.conf deleted file mode 100644 index 03f449f..0000000 --- a/configs/mate/pacman.conf +++ /dev/null @@ -1,104 +0,0 @@ -# -# /etc/pacman.conf -# -# See the pacman.conf(5) manpage for option and repository directives - -# -# GENERAL OPTIONS -# -[options] -# The following paths are commented out with their default values listed. -# If you wish to use different paths, uncomment and update the paths. -#RootDir = / -#DBPath = /var/lib/pacman/ -#CacheDir = /var/cache/pacman/pkg/ -#LogFile = /var/log/pacman.log -#GPGDir = /etc/pacman.d/gnupg/ -#HookDir = /etc/pacman.d/hooks/ -HoldPkg = pacman glibc -#XferCommand = /usr/bin/curl -C - -f %u > %o -#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u -#CleanMethod = KeepInstalled -#UseDelta = 0.7 -Architecture = auto - -# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup -#IgnorePkg = -#IgnoreGroup = - -#NoUpgrade = -#NoExtract = - -# Misc options -#UseSyslog -#Color -#TotalDownload -# We cannot check disk space from within a chroot environment -#CheckSpace -#VerbosePkgLists - -# By default, pacman accepts packages signed by keys that its local keyring -# trusts (see pacman-key and its man page), as well as unsigned packages. -SigLevel = Required DatabaseOptional -LocalFileSigLevel = Optional -#RemoteFileSigLevel = Required - -# NOTE: You must run `pacman-key --init` before first using pacman; the local -# keyring can then be populated with the keys of all Arch/Parabola packagers -# with `pacman-key --populate archlinux` and `pacman-key --populate parabola`. - -# -# REPOSITORIES -# - can be defined here or included from another file -# - pacman will search repositories in the order defined here -# - local/custom mirrors can be added here or in separate files -# - repositories listed first will take precedence when packages -# have identical names, regardless of version number -# - URLs will have $repo replaced by the name of the current repo -# - URLs will have $arch replaced by the name of the architecture -# -# Repository entries are of the format: -# [repo-name] -# Server = ServerName -# Include = IncludePath -# -# The header [repo-name] is crucial - it must be present and -# uncommented to enable the repo. -# - -# The testing repositories are disabled by default. To enable, uncomment the -# repo name header and Include lines. You can add preferred servers immediately -# after the header, and they will be used before the default mirrors. - -#[libre-testing] -#Include = /etc/pacman.d/mirrorlist - -[libre] -Include = /etc/pacman.d/mirrorlist - -#[testing] -#Include = /etc/pacman.d/mirrorlist - -[core] -Include = /etc/pacman.d/mirrorlist - -[extra] -Include = /etc/pacman.d/mirrorlist - -#[community-testing] -#Include = /etc/pacman.d/mirrorlist - -[community] -Include = /etc/pacman.d/mirrorlist - -#[pcr-testing] -#Include = /etc/pacman.d/mirrorlist - -[pcr] -Include = /etc/pacman.d/mirrorlist - -# An example of a custom package repository. See the pacman manpage for -# tips on creating your own repositories. -#[custom] -#SigLevel = Optional TrustAll -#Server = file:///home/custompkgs diff --git a/configs/mate/root-image/etc/fstab b/configs/mate/root-image/etc/fstab deleted file mode 100644 index e69de29..0000000 diff --git a/configs/mate/root-image/etc/hostname b/configs/mate/root-image/etc/hostname deleted file mode 100644 index 8aaf41b..0000000 --- a/configs/mate/root-image/etc/hostname +++ /dev/null @@ -1 +0,0 @@ -parabolaiso diff --git a/configs/mate/root-image/etc/locale.conf b/configs/mate/root-image/etc/locale.conf deleted file mode 100644 index 01ec548..0000000 --- a/configs/mate/root-image/etc/locale.conf +++ /dev/null @@ -1 +0,0 @@ -LANG=en_US.UTF-8 diff --git a/configs/mate/root-image/etc/motd b/configs/mate/root-image/etc/motd deleted file mode 100644 index a126999..0000000 --- a/configs/mate/root-image/etc/motd +++ /dev/null @@ -1,14 +0,0 @@ - -=============================================================================== - - Parabola live media _DATE_ - - To install Parabola, the system must be connected to the internet. - For instructions, enter this command: - lynx network.html - - Press the function keys while holding Alt to switch virtual terminals. - This allows entering commands without closing lynx. - -=============================================================================== - diff --git a/configs/mate/root-image/etc/pam.d/su b/configs/mate/root-image/etc/pam.d/su deleted file mode 100644 index a291042..0000000 --- a/configs/mate/root-image/etc/pam.d/su +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_wheel.so trust use_uid -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so diff --git a/configs/mate/root-image/etc/skel/.config/caja/accels b/configs/mate/root-image/etc/skel/.config/caja/accels deleted file mode 100644 index 9464f0d..0000000 --- a/configs/mate/root-image/etc/skel/.config/caja/accels +++ /dev/null @@ -1,133 +0,0 @@ -; caja GtkAccelMap rc-file -*- scheme -*- -; this file is an automated accelerator map dump -; -; (gtk_accel_path "/DirViewActions/Trash" "") -; (gtk_accel_path "/DirViewActions/Save Search" "") -; (gtk_accel_path "/IconViewActions/Sort by Emblems" "") -; (gtk_accel_path "/DirViewActions/Start Volume" "") -; (gtk_accel_path "/DirViewActions/Location Poll" "") -; (gtk_accel_path "/ShellActions/Go to Trash" "") -; (gtk_accel_path "/SpatialActions/Go to Location" "l") -; (gtk_accel_path "/IconViewActions/Stretch" "") -; (gtk_accel_path "/DirViewActions/MoveToMenu" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel" "equal") -; (gtk_accel_path "/DirViewActions/LocationTrash" "") -; (gtk_accel_path "/DirViewActions/RenameSelectAll" "F2") -; (gtk_accel_path "/DirViewActions/Undo" "z") -; (gtk_accel_path "/DirViewActions/Location Start Volume" "") -; (gtk_accel_path "/DirViewActions/CopyToMenu" "") -; (gtk_accel_path "/DirViewActions/Empty Trash" "") -; (gtk_accel_path "/ShellActions/Close" "w") -; (gtk_accel_path "/DirViewActions/LocationRestoreFromTrash" "") -; (gtk_accel_path "/IconViewActions/Manual Layout" "") -; (gtk_accel_path "/ShellActions/Zoom Normal" "0") -; (gtk_accel_path "/DirViewActions/Create Link" "m") -; (gtk_accel_path "/DirViewActions/LocationDelete" "") -; (gtk_accel_path "/IconViewActions/Sort by Trash Time" "") -; (gtk_accel_path "/DirViewActions/OtherApplication2" "") -; (gtk_accel_path "/DirViewActions/OpenInNewTab" "o") -; (gtk_accel_path "/DirViewActions/OtherApplication1" "") -; (gtk_accel_path "/ShellActions/Connect to Server" "") -; (gtk_accel_path "/ShellActions/Help" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel2" "KP_Add") -; (gtk_accel_path "/SpatialActions/Close All Folders" "q") -; (gtk_accel_path "/ShellActions/File" "") -; (gtk_accel_path "/DirViewActions/Format Volume" "") -; (gtk_accel_path "/ShellActions/Caja Manual" "F1") -; (gtk_accel_path "/ShellActions/Go to Network" "") -; (gtk_accel_path "/DirViewActions/Mount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy" "c") -; (gtk_accel_path "/IconViewActions/Sort by Type" "") -; (gtk_accel_path "/ShellActions/View" "") -; (gtk_accel_path "/DirViewActions/New Empty File" "") -; (gtk_accel_path "/ShellActions/About Caja" "") -; (gtk_accel_path "/DirViewActions/Location Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Unstretch" "") -; (gtk_accel_path "/ShellActions/Zoom Out" "minus") -; (gtk_accel_path "/DirViewActions/OpenCloseParent" "Down") -; (gtk_accel_path "/SpatialActions/Close Parent Folders" "w") -; (gtk_accel_path "/DirViewActions/Open" "o") -; (gtk_accel_path "/DirViewActions/Self Format Volume" "") -; (gtk_accel_path "/DirViewActions/Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Connect To Server Link" "") -; (gtk_accel_path "/DirViewActions/Location Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Reset to Defaults" "") -; (gtk_accel_path "/DirViewActions/Location Mount Volume" "") -; (gtk_accel_path "/DirViewActions/LocationCut" "") -; (gtk_accel_path "/ShellActions/Zoom In" "plus") -; (gtk_accel_path "/DirViewActions/LocationOpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/Self Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Tighter Layout" "") -; (gtk_accel_path "/DirViewActions/Paste Files Into" "") -; (gtk_accel_path "/DirViewActions/LocationCopy" "") -; (gtk_accel_path "/DirViewActions/OpenAccel" "Down") -; (gtk_accel_path "/DirViewActions/Open With" "") -; (gtk_accel_path "/ShellActions/Edit" "") -; (gtk_accel_path "/ShellActions/Up" "Up") -; (gtk_accel_path "/DirViewActions/Open Scripts Folder" "") -; (gtk_accel_path "/DirViewActions/New Documents" "") -; (gtk_accel_path "/ShellActions/Reload" "r") -; (gtk_accel_path "/DirViewActions/Move to Home" "") -; (gtk_accel_path "/ShellActions/Backgrounds and Emblems" "") -; (gtk_accel_path "/DirViewActions/No Templates" "") -; (gtk_accel_path "/DirViewActions/Location Format Volume" "") -; (gtk_accel_path "/ShellActions/ZoomOutAccel" "KP_Subtract") -; (gtk_accel_path "/DirViewActions/LocationPasteFilesInto" "") -; (gtk_accel_path "/IconViewActions/Sort by Size" "") -; (gtk_accel_path "/DirViewActions/Select All" "a") -; (gtk_accel_path "/DirViewActions/OpenAlternate" "o") -; (gtk_accel_path "/ShellActions/Preferences" "") -; (gtk_accel_path "/DirViewActions/Poll" "") -; (gtk_accel_path "/DirViewActions/Select Pattern" "s") -; (gtk_accel_path "/DesktopViewActions/Change Background" "") -; (gtk_accel_path "/IconViewActions/Reversed Order" "") -; (gtk_accel_path "/ShellActions/Go to Computer" "") -; (gtk_accel_path "/DirViewActions/Restore From Trash" "") -; (gtk_accel_path "/DirViewActions/Location Stop Volume" "") -; (gtk_accel_path "/DirViewActions/LocationProperties" "") -; (gtk_accel_path "/DirViewActions/Rename" "F2") -; (gtk_accel_path "/DirViewActions/Redo" "y") -; (gtk_accel_path "/ShellActions/Go to Templates" "") -; (gtk_accel_path "/ShellActions/Show Hidden Files" "h") -; (gtk_accel_path "/DirViewActions/Self Start Volume" "") -; (gtk_accel_path "/DirViewActions/Move to next pane" "") -; (gtk_accel_path "/DirViewActions/OpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/LocationOpenInNewTab" "") -; (gtk_accel_path "/DirViewActions/Duplicate" "") -; (gtk_accel_path "/DirViewActions/Eject Volume" "") -; (gtk_accel_path "/DirViewActions/Stop Volume" "") -; (gtk_accel_path "/DirViewActions/PropertiesAccel" "i") -; (gtk_accel_path "/ShellActions/Home" "Home") -; (gtk_accel_path "/IconViewActions/Clean Up" "") -; (gtk_accel_path "/IconViewActions/Sort by Modification Date" "") -; (gtk_accel_path "/DirViewActions/Save Search As" "") -; (gtk_accel_path "/IconViewActions/Keep Aligned" "") -; (gtk_accel_path "/DirViewActions/New Launcher" "") -; (gtk_accel_path "/DirViewActions/Properties" "Return") -; (gtk_accel_path "/SpatialActions/Add Bookmark" "d") -; (gtk_accel_path "/DirViewActions/Copy to Desktop" "") -; (gtk_accel_path "/ShellActions/Stop" "") -; (gtk_accel_path "/DirViewActions/New Folder" "n") -; (gtk_accel_path "/DirViewActions/Self Poll" "") -; (gtk_accel_path "/DirViewActions/Move to Desktop" "") -; (gtk_accel_path "/DirViewActions/Cut" "x") -; (gtk_accel_path "/view_as_4" "4") -; (gtk_accel_path "/DirViewActions/Delete" "Delete") -; (gtk_accel_path "/DesktopViewActions/New Launcher Desktop" "") -; (gtk_accel_path "/IconViewActions/Sort by Name" "") -; (gtk_accel_path "/view_as_2" "2") -; (gtk_accel_path "/view_as_3" "3") -; (gtk_accel_path "/DirViewActions/Paste" "v") -; (gtk_accel_path "/DirViewActions/Invert Selection" "i") -; (gtk_accel_path "/view_as_1" "1") -; (gtk_accel_path "/DesktopViewActions/Empty Trash Conditional" "") -; (gtk_accel_path "/IconViewActions/Arrange Items" "") -; (gtk_accel_path "/DirViewActions/Self Stop Volume" "") -; (gtk_accel_path "/SpatialActions/Places" "") -; (gtk_accel_path "/SpatialActions/Edit Bookmarks" "b") -; (gtk_accel_path "/DirViewActions/Copy to Home" "") -; (gtk_accel_path "/DirViewActions/Self Mount Volume" "") -; (gtk_accel_path "/SpatialActions/Search" "f") -; (gtk_accel_path "/DirViewActions/Self Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy to next pane" "") -; (gtk_accel_path "/DirViewActions/LocationOpenAlternate" "") diff --git a/configs/mate/root-image/etc/skel/.config/caja/desktop-metadata b/configs/mate/root-image/etc/skel/.config/caja/desktop-metadata deleted file mode 100644 index e1f9d17..0000000 --- a/configs/mate/root-image/etc/skel/.config/caja/desktop-metadata +++ /dev/null @@ -1,23 +0,0 @@ -[directory] -caja-icon-view-keep-aligned=true -caja-icon-view-layout-timestamp=1441316522 - -[trash] -caja-icon-position=64,302 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[computer] -caja-icon-position=64,22 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[home] -caja-icon-position=64,102 -icon-scale=1 -caja-icon-position-timestamp=1441316522 - -[openSUSE 13.2 KDE Live.volume] -caja-icon-position=64,382 -icon-scale=1 -caja-icon-position-timestamp=1441316562 diff --git a/configs/mate/root-image/etc/skel/.config/dconf/user b/configs/mate/root-image/etc/skel/.config/dconf/user deleted file mode 100644 index dab7f59..0000000 Binary files a/configs/mate/root-image/etc/skel/.config/dconf/user and /dev/null differ diff --git a/configs/mate/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini deleted file mode 100644 index c6b458d..0000000 --- a/configs/mate/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini +++ /dev/null @@ -1,11 +0,0 @@ -[Filechooser Settings] -LocationMode=path-bar -ShowHidden=true -ShowSizeColumn=true -GeometryX=52 -GeometryY=86 -GeometryWidth=920 -GeometryHeight=585 -SortColumn=name -SortOrder=ascending -StartupMode=recent diff --git a/configs/mate/root-image/etc/skel/.config/volumeicon/volumeicon b/configs/mate/root-image/etc/skel/.config/volumeicon/volumeicon deleted file mode 100644 index 588b9dd..0000000 --- a/configs/mate/root-image/etc/skel/.config/volumeicon/volumeicon +++ /dev/null @@ -1,25 +0,0 @@ -[Alsa] -card=default - -[Notification] -show_notification=true -notification_type=0 - -[StatusIcon] -stepsize=5 -onclick=xterm -e 'alsamixer' -theme=Default -use_panel_specific_icons=false -lmb_slider=false -mmb_mute=false -use_horizontal_slider=false -show_sound_level=false -use_transparent_background=false - -[Hotkeys] -up_enabled=false -down_enabled=false -mute_enabled=false -up=XF86AudioRaiseVolume -down=XF86AudioLowerVolume -mute=XF86AudioMute diff --git a/configs/mate/root-image/etc/skel/.directory b/configs/mate/root-image/etc/skel/.directory deleted file mode 100644 index 07c52ff..0000000 --- a/configs/mate/root-image/etc/skel/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2014,12,3,17,12,32 -Version=3 - -[Settings] -HiddenFilesShown=true diff --git a/configs/mate/root-image/etc/sudoers.d/g_wheel b/configs/mate/root-image/etc/sudoers.d/g_wheel deleted file mode 100644 index 8c45359..0000000 --- a/configs/mate/root-image/etc/sudoers.d/g_wheel +++ /dev/null @@ -1 +0,0 @@ -%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/configs/mate/root-image/etc/systemd/scripts/choose-mirror b/configs/mate/root-image/etc/systemd/scripts/choose-mirror deleted file mode 100755 index 13c9f69..0000000 --- a/configs/mate/root-image/etc/systemd/scripts/choose-mirror +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -get_cmdline() { - local param - for param in $(< /proc/cmdline); do - case "${param}" in - $1=*) echo "${param##*=}"; - return 0 - ;; - esac - done -} - -mirror=$(get_cmdline mirror) -[[ $mirror = auto ]] && mirror=$(get_cmdline parabolaiso_http_srv) -[[ $mirror ]] || exit 0 - -mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig -cat >/etc/pacman.d/mirrorlist << EOF -# -# Parabola GNU/Linux-libre repository mirrorlist -# Generated by parabolaiso -# - -Server = ${mirror%%/}/\$repo/os/\$arch -EOF diff --git a/configs/mate/root-image/etc/systemd/system/choose-mirror.service b/configs/mate/root-image/etc/systemd/system/choose-mirror.service deleted file mode 100644 index 1e4d771..0000000 --- a/configs/mate/root-image/etc/systemd/system/choose-mirror.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Choose mirror from the kernel command line -ConditionKernelCommandLine=mirror - -[Service] -Type=oneshot -ExecStart=/etc/systemd/scripts/choose-mirror - -[Install] -WantedBy=multi-user.target diff --git a/configs/mate/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/mate/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount deleted file mode 100644 index 4eab551..0000000 --- a/configs/mate/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Temporary /etc/pacman.d/gnupg directory - -[Mount] -What=tmpfs -Where=/etc/pacman.d/gnupg -Type=tmpfs -Options=mode=0755 diff --git a/configs/mate/root-image/etc/systemd/system/getty@tty1.service.d/autologin.conf b/configs/mate/root-image/etc/systemd/system/getty@tty1.service.d/autologin.conf deleted file mode 100644 index d1d8474..0000000 --- a/configs/mate/root-image/etc/systemd/system/getty@tty1.service.d/autologin.conf +++ /dev/null @@ -1,3 +0,0 @@ -[Service] -ExecStart= -ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/configs/mate/root-image/etc/systemd/system/pacman-init.service b/configs/mate/root-image/etc/systemd/system/pacman-init.service deleted file mode 100644 index 3414ebc..0000000 --- a/configs/mate/root-image/etc/systemd/system/pacman-init.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Initializes Pacman keyring -Wants=haveged.service -After=haveged.service -Requires=etc-pacman.d-gnupg.mount -After=etc-pacman.d-gnupg.mount - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/pacman-key --init -ExecStart=/usr/bin/pacman-key --populate archlinux -ExecStart=/usr/bin/pacman-key --populate parabola - -[Install] -WantedBy=multi-user.target diff --git a/configs/mate/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/mate/root-image/etc/udev/rules.d/81-dhcpcd.rules deleted file mode 100644 index 970da69..0000000 --- a/configs/mate/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/mate/root-image/etc/wallpaper.png b/configs/mate/root-image/etc/wallpaper.png deleted file mode 100644 index 86ec768..0000000 Binary files a/configs/mate/root-image/etc/wallpaper.png and /dev/null differ diff --git a/configs/mate/root-image/root/.automated_script.sh b/configs/mate/root-image/root/.automated_script.sh deleted file mode 100755 index fb106da..0000000 --- a/configs/mate/root-image/root/.automated_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -script_cmdline () -{ - local param - for param in $(< /proc/cmdline); do - case "${param}" in - script=*) echo "${param##*=}" ; return 0 ;; - esac - done -} - -automated_script () -{ - local script rt - script="$(script_cmdline)" - if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then - if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then - wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null - rt=$? - else - cp "${script}" /tmp/startup_script - rt=$? - fi - if [[ ${rt} -eq 0 ]]; then - chmod +x /tmp/startup_script - /tmp/startup_script - fi - fi -} - -if [[ $(tty) == "/dev/tty1" ]]; then - automated_script -fi diff --git a/configs/mate/root-image/root/.codecheck b/configs/mate/root-image/root/.codecheck deleted file mode 100644 index 7c5d84a..0000000 --- a/configs/mate/root-image/root/.codecheck +++ /dev/null @@ -1,2 +0,0 @@ -LANG=0 -XKBMAP=us diff --git a/configs/mate/root-image/root/.config/autostart/.language.sh.desktop b/configs/mate/root-image/root/.config/autostart/.language.sh.desktop deleted file mode 100644 index 1fb65f8..0000000 --- a/configs/mate/root-image/root/.config/autostart/.language.sh.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Exec=/root/.language.sh -Hidden=false -X-MATE-Autostart-enabled=true -Name[en_US]=/root/.language.sh -Name=/root/.language.sh -Comment[en_US]= -Comment= diff --git a/configs/mate/root-image/root/.config/caja/accels b/configs/mate/root-image/root/.config/caja/accels deleted file mode 100644 index 9464f0d..0000000 --- a/configs/mate/root-image/root/.config/caja/accels +++ /dev/null @@ -1,133 +0,0 @@ -; caja GtkAccelMap rc-file -*- scheme -*- -; this file is an automated accelerator map dump -; -; (gtk_accel_path "/DirViewActions/Trash" "") -; (gtk_accel_path "/DirViewActions/Save Search" "") -; (gtk_accel_path "/IconViewActions/Sort by Emblems" "") -; (gtk_accel_path "/DirViewActions/Start Volume" "") -; (gtk_accel_path "/DirViewActions/Location Poll" "") -; (gtk_accel_path "/ShellActions/Go to Trash" "") -; (gtk_accel_path "/SpatialActions/Go to Location" "l") -; (gtk_accel_path "/IconViewActions/Stretch" "") -; (gtk_accel_path "/DirViewActions/MoveToMenu" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel" "equal") -; (gtk_accel_path "/DirViewActions/LocationTrash" "") -; (gtk_accel_path "/DirViewActions/RenameSelectAll" "F2") -; (gtk_accel_path "/DirViewActions/Undo" "z") -; (gtk_accel_path "/DirViewActions/Location Start Volume" "") -; (gtk_accel_path "/DirViewActions/CopyToMenu" "") -; (gtk_accel_path "/DirViewActions/Empty Trash" "") -; (gtk_accel_path "/ShellActions/Close" "w") -; (gtk_accel_path "/DirViewActions/LocationRestoreFromTrash" "") -; (gtk_accel_path "/IconViewActions/Manual Layout" "") -; (gtk_accel_path "/ShellActions/Zoom Normal" "0") -; (gtk_accel_path "/DirViewActions/Create Link" "m") -; (gtk_accel_path "/DirViewActions/LocationDelete" "") -; (gtk_accel_path "/IconViewActions/Sort by Trash Time" "") -; (gtk_accel_path "/DirViewActions/OtherApplication2" "") -; (gtk_accel_path "/DirViewActions/OpenInNewTab" "o") -; (gtk_accel_path "/DirViewActions/OtherApplication1" "") -; (gtk_accel_path "/ShellActions/Connect to Server" "") -; (gtk_accel_path "/ShellActions/Help" "") -; (gtk_accel_path "/ShellActions/ZoomInAccel2" "KP_Add") -; (gtk_accel_path "/SpatialActions/Close All Folders" "q") -; (gtk_accel_path "/ShellActions/File" "") -; (gtk_accel_path "/DirViewActions/Format Volume" "") -; (gtk_accel_path "/ShellActions/Caja Manual" "F1") -; (gtk_accel_path "/ShellActions/Go to Network" "") -; (gtk_accel_path "/DirViewActions/Mount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy" "c") -; (gtk_accel_path "/IconViewActions/Sort by Type" "") -; (gtk_accel_path "/ShellActions/View" "") -; (gtk_accel_path "/DirViewActions/New Empty File" "") -; (gtk_accel_path "/ShellActions/About Caja" "") -; (gtk_accel_path "/DirViewActions/Location Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Unstretch" "") -; (gtk_accel_path "/ShellActions/Zoom Out" "minus") -; (gtk_accel_path "/DirViewActions/OpenCloseParent" "Down") -; (gtk_accel_path "/SpatialActions/Close Parent Folders" "w") -; (gtk_accel_path "/DirViewActions/Open" "o") -; (gtk_accel_path "/DirViewActions/Self Format Volume" "") -; (gtk_accel_path "/DirViewActions/Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Connect To Server Link" "") -; (gtk_accel_path "/DirViewActions/Location Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Reset to Defaults" "") -; (gtk_accel_path "/DirViewActions/Location Mount Volume" "") -; (gtk_accel_path "/DirViewActions/LocationCut" "") -; (gtk_accel_path "/ShellActions/Zoom In" "plus") -; (gtk_accel_path "/DirViewActions/LocationOpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/Self Eject Volume" "") -; (gtk_accel_path "/IconViewActions/Tighter Layout" "") -; (gtk_accel_path "/DirViewActions/Paste Files Into" "") -; (gtk_accel_path "/DirViewActions/LocationCopy" "") -; (gtk_accel_path "/DirViewActions/OpenAccel" "Down") -; (gtk_accel_path "/DirViewActions/Open With" "") -; (gtk_accel_path "/ShellActions/Edit" "") -; (gtk_accel_path "/ShellActions/Up" "Up") -; (gtk_accel_path "/DirViewActions/Open Scripts Folder" "") -; (gtk_accel_path "/DirViewActions/New Documents" "") -; (gtk_accel_path "/ShellActions/Reload" "r") -; (gtk_accel_path "/DirViewActions/Move to Home" "") -; (gtk_accel_path "/ShellActions/Backgrounds and Emblems" "") -; (gtk_accel_path "/DirViewActions/No Templates" "") -; (gtk_accel_path "/DirViewActions/Location Format Volume" "") -; (gtk_accel_path "/ShellActions/ZoomOutAccel" "KP_Subtract") -; (gtk_accel_path "/DirViewActions/LocationPasteFilesInto" "") -; (gtk_accel_path "/IconViewActions/Sort by Size" "") -; (gtk_accel_path "/DirViewActions/Select All" "a") -; (gtk_accel_path "/DirViewActions/OpenAlternate" "o") -; (gtk_accel_path "/ShellActions/Preferences" "") -; (gtk_accel_path "/DirViewActions/Poll" "") -; (gtk_accel_path "/DirViewActions/Select Pattern" "s") -; (gtk_accel_path "/DesktopViewActions/Change Background" "") -; (gtk_accel_path "/IconViewActions/Reversed Order" "") -; (gtk_accel_path "/ShellActions/Go to Computer" "") -; (gtk_accel_path "/DirViewActions/Restore From Trash" "") -; (gtk_accel_path "/DirViewActions/Location Stop Volume" "") -; (gtk_accel_path "/DirViewActions/LocationProperties" "") -; (gtk_accel_path "/DirViewActions/Rename" "F2") -; (gtk_accel_path "/DirViewActions/Redo" "y") -; (gtk_accel_path "/ShellActions/Go to Templates" "") -; (gtk_accel_path "/ShellActions/Show Hidden Files" "h") -; (gtk_accel_path "/DirViewActions/Self Start Volume" "") -; (gtk_accel_path "/DirViewActions/Move to next pane" "") -; (gtk_accel_path "/DirViewActions/OpenFolderWindow" "") -; (gtk_accel_path "/DirViewActions/LocationOpenInNewTab" "") -; (gtk_accel_path "/DirViewActions/Duplicate" "") -; (gtk_accel_path "/DirViewActions/Eject Volume" "") -; (gtk_accel_path "/DirViewActions/Stop Volume" "") -; (gtk_accel_path "/DirViewActions/PropertiesAccel" "i") -; (gtk_accel_path "/ShellActions/Home" "Home") -; (gtk_accel_path "/IconViewActions/Clean Up" "") -; (gtk_accel_path "/IconViewActions/Sort by Modification Date" "") -; (gtk_accel_path "/DirViewActions/Save Search As" "") -; (gtk_accel_path "/IconViewActions/Keep Aligned" "") -; (gtk_accel_path "/DirViewActions/New Launcher" "") -; (gtk_accel_path "/DirViewActions/Properties" "Return") -; (gtk_accel_path "/SpatialActions/Add Bookmark" "d") -; (gtk_accel_path "/DirViewActions/Copy to Desktop" "") -; (gtk_accel_path "/ShellActions/Stop" "") -; (gtk_accel_path "/DirViewActions/New Folder" "n") -; (gtk_accel_path "/DirViewActions/Self Poll" "") -; (gtk_accel_path "/DirViewActions/Move to Desktop" "") -; (gtk_accel_path "/DirViewActions/Cut" "x") -; (gtk_accel_path "/view_as_4" "4") -; (gtk_accel_path "/DirViewActions/Delete" "Delete") -; (gtk_accel_path "/DesktopViewActions/New Launcher Desktop" "") -; (gtk_accel_path "/IconViewActions/Sort by Name" "") -; (gtk_accel_path "/view_as_2" "2") -; (gtk_accel_path "/view_as_3" "3") -; (gtk_accel_path "/DirViewActions/Paste" "v") -; (gtk_accel_path "/DirViewActions/Invert Selection" "i") -; (gtk_accel_path "/view_as_1" "1") -; (gtk_accel_path "/DesktopViewActions/Empty Trash Conditional" "") -; (gtk_accel_path "/IconViewActions/Arrange Items" "") -; (gtk_accel_path "/DirViewActions/Self Stop Volume" "") -; (gtk_accel_path "/SpatialActions/Places" "") -; (gtk_accel_path "/SpatialActions/Edit Bookmarks" "b") -; (gtk_accel_path "/DirViewActions/Copy to Home" "") -; (gtk_accel_path "/DirViewActions/Self Mount Volume" "") -; (gtk_accel_path "/SpatialActions/Search" "f") -; (gtk_accel_path "/DirViewActions/Self Unmount Volume" "") -; (gtk_accel_path "/DirViewActions/Copy to next pane" "") -; (gtk_accel_path "/DirViewActions/LocationOpenAlternate" "") diff --git a/configs/mate/root-image/root/.config/caja/desktop-metadata b/configs/mate/root-image/root/.config/caja/desktop-metadata deleted file mode 100644 index 9ac6828..0000000 --- a/configs/mate/root-image/root/.config/caja/desktop-metadata +++ /dev/null @@ -1,24 +0,0 @@ -[directory] -caja-icon-view-keep-aligned=true -caja-icon-view-layout-timestamp=1441319556 -caja-window-scroll-position=file:///root/Desktop/Parabola%20Installation%20CLI.desktop - -[trash] -caja-icon-position=64,302 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[computer] -caja-icon-position=64,22 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[home] -caja-icon-position=64,102 -icon-scale=1 -caja-icon-position-timestamp=1441319556 - -[openSUSE 13.2 KDE Live.volume] -caja-icon-position=64,382 -icon-scale=1 -caja-icon-position-timestamp=1441319577 diff --git a/configs/mate/root-image/root/.config/dconf/user b/configs/mate/root-image/root/.config/dconf/user deleted file mode 100644 index dab7f59..0000000 Binary files a/configs/mate/root-image/root/.config/dconf/user and /dev/null differ diff --git a/configs/mate/root-image/root/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate/root-image/root/.config/gtk-2.0/gtkfilechooser.ini deleted file mode 100644 index c6b458d..0000000 --- a/configs/mate/root-image/root/.config/gtk-2.0/gtkfilechooser.ini +++ /dev/null @@ -1,11 +0,0 @@ -[Filechooser Settings] -LocationMode=path-bar -ShowHidden=true -ShowSizeColumn=true -GeometryX=52 -GeometryY=86 -GeometryWidth=920 -GeometryHeight=585 -SortColumn=name -SortOrder=ascending -StartupMode=recent diff --git a/configs/mate/root-image/root/.config/volumeicon/volumeicon b/configs/mate/root-image/root/.config/volumeicon/volumeicon deleted file mode 100644 index 588b9dd..0000000 --- a/configs/mate/root-image/root/.config/volumeicon/volumeicon +++ /dev/null @@ -1,25 +0,0 @@ -[Alsa] -card=default - -[Notification] -show_notification=true -notification_type=0 - -[StatusIcon] -stepsize=5 -onclick=xterm -e 'alsamixer' -theme=Default -use_panel_specific_icons=false -lmb_slider=false -mmb_mute=false -use_horizontal_slider=false -show_sound_level=false -use_transparent_background=false - -[Hotkeys] -up_enabled=false -down_enabled=false -mute_enabled=false -up=XF86AudioRaiseVolume -down=XF86AudioLowerVolume -mute=XF86AudioMute diff --git a/configs/mate/root-image/root/.directory b/configs/mate/root-image/root/.directory deleted file mode 100644 index af61e27..0000000 --- a/configs/mate/root-image/root/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2014,12,3,11,8,28 -Version=3 - -[Settings] -HiddenFilesShown=true diff --git a/configs/mate/root-image/root/.language.sh b/configs/mate/root-image/root/.language.sh deleted file mode 100755 index d32e1f1..0000000 --- a/configs/mate/root-image/root/.language.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -finish=0 #If change locale the system need restart session to see the changes - -#Comprobe if language was selected -code=$(cat ~/.codecheck | grep LANG= | tail --bytes 2) -if [ $code = "0" ]; then - lang=$(zenity --list --title="Select your locale" --column="Locale" --column="Language" \ - "en_US.UTF-8" "English" \ - "gl_ES.UTF-8" "Galego" \ - "es_ES.UTF-8" "Spanish" \ - "pt_BR.UTF-8" "Brazilian Portuguese") - - #Copy locale in locale.conf - echo "LANG=$lang" > /etc/locale.conf - - #Put a new line confirm that language was selected - sed -i '/LANG=./d' ~/.codecheck - echo "LANG=1" >> ~/.codecheck - - #Copy icewm menu in that language and scripts to install - cp -a ~/.icewm/menuLanguages/menu_${lang/_*/} ~/.icewm/menu - cp -a ~/.scriptsInstallation/language/${lang/_*/}/* ~/.scriptsInstallation/ - - finish=1 -fi - -#Comprobe if X11 keymap was selected -code=$(cat .codecheck | grep XKBMAP= | cut -d '=' -f 2) -if [ $code = "us" ]; then - keymap=$(zenity --list --title="Select your keymap" --column="Keymap" $(localectl list-x11-keymap-layouts)) - - setxkbmap $keymap - - #Save XKBMAP in .codecheck to use in other time. For example if you install X11 with scripts - sed -i '/XKBMAP=./d' ~/.codecheck - echo "XKBMAP=$keymap" >> ~/.codecheck -fi - -if [ $finish -eq 1 ]; then - #Restart session - pkill -KILL -u root -fi diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh deleted file mode 100755 index 83bdd20..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh +++ /dev/null @@ -1,235 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Select Hard Disk" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "Partitioning method" 20 70 50 \ - 1 "Use all disk with swap (1GB) and /" \ - 2 "Use gparted to customize" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Mount / Partition" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "Mount other partition?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Mount /home Partition" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount /boot Partition" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "Parabola Installation CLI" 20 70 50 \ - 1 "Format and Mount Partitions" \ - 2 "Install Base System" \ - 3 "Install GRUB" \ - 4 "System Configure" \ - 5 "(Optional) Install Live DVD Desktop/Applications" \ - 6 "Create User Account" \ - 7 "Exit" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub grub2-theme-gnuaxiom - #Enable Parabola theme for grub - sed -i 's|[#]GRUB_THEME=["]/path/to/gfxtheme["]|GRUB_THEME="/boot/grub/themes/GNUAxiom/theme.txt"|' /mnt/etc/default/grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-amdgpu" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "sudo" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-extra" - "caja" - "volumeicon" - "zenity" - "octopi" - "octopi-cachecleaner" - "octopi-notifier" - "octopi-repoeditor" - "ambiance-radiance-colors-suite" - "rave-x-colors" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "gnome-keyring" - "iceweasel" - "icedove" - "pidgin" - "linphone" - "qtox" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "dmidecode" - "lightdm-gtk-greeter-settings" - "grub2-theme-gnuaxiom" - "p7zip" - "unar" - "unzip" - "zip" - "ttf-dejavu" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copy skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Uncomment to allow members of group wheel to execute any command - sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers - - #Enable services - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with systemd - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - 6) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Enter an User Name" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.codecheck /mnt - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/.codecheck - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/systemConfig.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/systemConfig.sh deleted file mode 100755 index 8a0e53c..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/en/systemConfig.sh +++ /dev/null @@ -1,270 +0,0 @@ -#!/bin/bash - -echo "$(dialog --stdout --inputbox "Enter Hostname:" 8 40)" > /etc/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Enter your Zone Time:\nFor example: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Select Keymap" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Select Locales" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Select your language" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insert root password" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repeat root password" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/userAccount.sh deleted file mode 100755 index 0df85f9..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/en/userAccount.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Insert ${user#*=} password" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Reply password" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -if [ -x /usr/bin/setxkbmap ]; then - echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc -fi - -if [ -x /usr/bin/gsettings ]; then - sudo -u {user#*=} \ - if [ -d /usr/share/themes/Radiance-Purple ]; then - gsettings set org.mate.interface gtk-theme 'Radiance-Purple' - gsettings set org.mate.Marco.general theme 'Radiance-Purple' - fi \ - if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then - gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' - fi \ - if [ -d /usr/share/icons/mate ]; then - gsettings set org.mate.peripherals-mouse cursor-size '18' - gsettings set org.mate.peripherals-mouse cursor-theme 'mate' - fi \ - if [ -f /etc/wallpaper.png ]; then - gsettings set org.mate.background picture-filename '/etc/wallpaper.png' - fi -fi - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh deleted file mode 100755 index 4f25d6d..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh +++ /dev/null @@ -1,237 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ - 1 "Usar todo el disco con swap (1GB) and /" \ - 2 "Usar gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "¿Montar otra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ - 1 "Formatear y Montar Particiones" \ - 2 "Instalar Sistema Base" \ - 3 "Instalar GRUB" \ - 4 "ConfiguraciĂ³n del Sistema" \ - 5 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \ - 6 "Crear Cuenta de Usuario" \ - 7 "Salir" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub grub2-theme-gnuaxiom - #Enable Parabola theme for grub - sed -i 's|[#]GRUB_THEME=["]/path/to/gfxtheme["]|GRUB_THEME="/boot/grub/themes/GNUAxiom/theme.txt"|' /mnt/etc/default/grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-amdgpu" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "sudo" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-extra" - "caja" - "volumeicon" - "zenity" - "octopi" - "octopi-cachecleaner" - "octopi-notifier" - "octopi-repoeditor" - "ambiance-radiance-colors-suite" - "rave-x-colors" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "gnome-keyring" - "iceweasel" - "iceweasel-l10n-es-es" - "icedove" - "icedove-l10n-es-es" - "pidgin" - "linphone" - "qtox" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "dmidecode" - "lightdm-gtk-greeter-settings" - "grub2-theme-gnuaxiom" - "p7zip" - "unar" - "unzip" - "zip" - "ttf-dejavu" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copy skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Uncomment to allow members of group wheel to execute any command - sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers - - #Enable services - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with systemd - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - 6) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.codecheck /mnt - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/.codecheck - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/systemConfig.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/systemConfig.sh deleted file mode 100755 index c32ad85..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/es/systemConfig.sh +++ /dev/null @@ -1,270 +0,0 @@ -#!/bin/bash - -echo "$(dialog --stdout --inputbox "Introduce el nombre del sistema:" 8 40)" > /etc/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce la Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona la distribucion del teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Selecciona las Localizaciones" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Selecciona tu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Inserta la contraseña para el administrador" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite la contraseña para el administrador" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh deleted file mode 100755 index 1ab3585..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Introduce la contraseñara para el usuario ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite la contraseña" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -if [ -x /usr/bin/setxkbmap ]; then - echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc -fi - -if [ -x /usr/bin/gsettings ]; then - sudo -u {user#*=} \ - if [ -d /usr/share/themes/Radiance-Purple ]; then - gsettings set org.mate.interface gtk-theme 'Radiance-Purple' - gsettings set org.mate.Marco.general theme 'Radiance-Purple' - fi \ - if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then - gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' - fi \ - if [ -d /usr/share/icons/mate ]; then - gsettings set org.mate.peripherals-mouse cursor-size '18' - gsettings set org.mate.peripherals-mouse cursor-theme 'mate' - fi \ - if [ -f /etc/wallpaper.png ]; then - gsettings set org.mate.background picture-filename '/etc/wallpaper.png' - fi -fi - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh deleted file mode 100755 index 50bbfc5..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh +++ /dev/null @@ -1,237 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \ - 1 "Usar todo o disco con swap (1GB) and /" \ - 2 "Usar gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "¿Montar outra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaciĂ³n CLI de Parabola" 20 70 50 \ - 1 "Formatear e Montar Particiones" \ - 2 "Instalar Sistema Base" \ - 3 "Instalar GRUB" \ - 4 "ConfiguraciĂ³n do Sistema" \ - 5 "(Opcional) Instalar Escritorio/Aplicaciones de Live DVD" \ - 6 "Crear Conta de Usuario" \ - 7 "Salir" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub grub2-theme-gnuaxiom - #Enable Parabola theme for grub - sed -i 's|[#]GRUB_THEME=["]/path/to/gfxtheme["]|GRUB_THEME="/boot/grub/themes/GNUAxiom/theme.txt"|' /mnt/etc/default/grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-amdgpu" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "sudo" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-extra" - "caja" - "volumeicon" - "zenity" - "octopi" - "octopi-cachecleaner" - "octopi-notifier" - "octopi-repoeditor" - "ambiance-radiance-colors-suite" - "rave-x-colors" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "gnome-keyring" - "iceweasel" - "iceweasel-l10n-gl" - "icedove" - "icedove-l10n-gl" - "pidgin" - "linphone" - "qtox" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "dmidecode" - "lightdm-gtk-greeter-settings" - "grub2-theme-gnuaxiom" - "p7zip" - "unar" - "unzip" - "zip" - "ttf-dejavu" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copy skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Uncomment to allow members of group wheel to execute any command - sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers - - #Enable services - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with systemd - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - 6) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Introduce un nome de usuario" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.codecheck /mnt - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/.codecheck - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh deleted file mode 100755 index 8353cfb..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh +++ /dev/null @@ -1,270 +0,0 @@ -#!/bin/bash - -echo "$(dialog --stdout --inputbox "Introduce o nome do sistema:" 8 40)" > /etc/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce a Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona a distribucion do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Selecciona as Localizacions" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Selecciona o teu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insire o contrasinal para o administrador" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite o contrasinal para o administrador" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh deleted file mode 100755 index 6fa82e1..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Introduce o contrasinal para o usuario ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repite o contrasinal" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -if [ -x /usr/bin/setxkbmap ]; then - echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc -fi - -if [ -x /usr/bin/gsettings ]; then - sudo -u {user#*=} \ - if [ -d /usr/share/themes/Radiance-Purple ]; then - gsettings set org.mate.interface gtk-theme 'Radiance-Purple' - gsettings set org.mate.Marco.general theme 'Radiance-Purple' - fi \ - if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then - gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' - fi \ - if [ -d /usr/share/icons/mate ]; then - gsettings set org.mate.peripherals-mouse cursor-size '18' - gsettings set org.mate.peripherals-mouse cursor-theme 'mate' - fi \ - if [ -f /etc/wallpaper.png ]; then - gsettings set org.mate.background picture-filename '/etc/wallpaper.png' - fi -fi - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh deleted file mode 100755 index 2272795..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh +++ /dev/null @@ -1,237 +0,0 @@ -#!/bin/bash -#Temporal is a file that contains parameters to use when access to chroot - -pacman -Sy parabola-keyring --noconfirm -pacman-key --populate parabola -pacman-key --refresh-keys - -partition(){ - - #Search and show the Hard Disks to select - aux=$(ls /dev/sd?) - index=0 - for i in $aux; do - hdds[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - hdd=$(dialog --stdout --radiolist "Escolha o Disco" 20 70 50 ${hdds[@]}) - - #If exist the line delete - if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null - then - sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal - fi - - #And add the new line with new parameter - echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal - - selection=$(dialog --stdout --menu "MĂ©todo de Particionamento" 20 70 50 \ - 1 "Usar todo o disco com o swap (1GB) e /" \ - 2 "Usar o gparted para personalizar" ) - - case $selection in - 1) - umount /mnt &> /dev/null - #Create msdos partition table - parted -s $hdd -- mklabel msdos - - #Create partition swap and / - parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s - - #Boot option partition / - parted -s $hdd -- set 2 boot on - - #Format and partitions and mount / - (echo t; echo 1; echo 82; echo w) | fdisk $hdd - mkswap ${hdd}1 - mkfs.ext4 ${hdd}2 - mount ${hdd}2 /mnt - ;; - 2) - gparted $hdd - - #Search and show the partitions that select before. - aux=$(ls $hdd?) - index=0; - for i in $aux; do - partitions[$index]="${i} ${i#/*/} off" - index=$((index+1)) - done - - partition=$(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /" 20 70 50 ${partitions[@]}) - - #Mount partition / - umount /mnt &> /dev/null - mount $partition /mnt - - #Ask if you want mount other partitions - other=0 - while [ $other != 3 ]; do - other=$(dialog --stdout --menu "Quer montar outra partiĂ§Ă£o?" 20 70 50 1 "/home" 2 "/boot" 3 "NĂ£o") - - case $other in - 1) - umount /mnt/home &> /dev/null - mkdir /mnt/home &> /dev/null - mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /home" 20 70 50 ${partitions[@]}) /mnt/home - ;; - 2) - umount /mnt/boot &> /dev/null - mkdir /mnt/boot &> /dev/null - mount $(dialog --stdout --radiolist "Montar a partiĂ§Ă£o /boot" 20 70 50 ${partitions[@]}) /mnt/boot - ;; - *) - other=3 - ;; - esac - done - ;; - esac -} - - -option=0 -while [ option != 7 ]; do - option=$(dialog --stdout --menu "InstalaĂ§Ă£o CLI do Parabola" 20 70 50 \ - 1 "Formatar e Montar as Partições" \ - 2 "Instalar o Sistema Base" \ - 3 "Instalar o GRUB" \ - 4 "ConfiguraĂ§Ă£o do Sistema" \ - 5 "(Opcional) Instalar Ambiente GrĂ¡fico/Aplicativos da Live DVD" \ - 6 "Adicionar uma Conta de UsuĂ¡rio" \ - 7 "Sair" ) - - case $option in - 1) - partition - ;; - 2) - #Install base system - pacstrap /mnt - pacstrap /mnt dialog - ;; - 3) - #Install grub - pacstrap /mnt grub grub2-theme-gnuaxiom - #Enable Parabola theme for grub - sed -i 's|[#]GRUB_THEME=["]/path/to/gfxtheme["]|GRUB_THEME="/boot/grub/themes/GNUAxiom/theme.txt"|' /mnt/etc/default/grub - ;; - 4) - #Generate fstab and acces to chroot to do System Config - genfstab -p /mnt >> /mnt/etc/fstab - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/systemConfig.sh /mnt - chmod +x /mnt/systemConfig.sh - arch-chroot /mnt /systemConfig.sh - rm -r /mnt/systemConfig.sh - ;; - 5) - #Packages to the X11 live - packages=( "xorg-server" - "xf86-input-evdev" - "xf86-input-synaptics" - "xf86-video-amdgpu" - "xf86-video-ati" - "xf86-video-dummy" - "xf86-video-fbdev" - "xf86-video-intel" - "xf86-video-nouveau" - "xf86-video-openchrome" - "xf86-video-sisusb" - "xf86-video-vesa" - "xf86-video-vmware" - "xf86-video-voodoo" - "xf86-video-qxl" - "xorg-xinit" - "sudo" - "gst-plugins-good" - "gst-libav" - "mate" - "mate-extra" - "caja" - "volumeicon" - "zenity" - "octopi" - "octopi-cachecleaner" - "octopi-notifier" - "octopi-repoeditor" - "ambiance-radiance-colors-suite" - "rave-x-colors" - "pulseaudio-alsa" - "alsa-utils" - "networkmanager" - "network-manager-applet" - "ath9k-htc-firmware" - "gnome-keyring" - "iceweasel" - "iceweasel-l10n-pt-br" - "icedove" - "icedove-l10n-pt-br" - "pidgin" - "linphone" - "qtox" - "gparted" - "smplayer" - "epdfview" - "gpicview" - "abiword" - "gnumeric" - "leafpad" - "galculator-gtk2" - "xarchiver" - "dmidecode" - "lightdm-gtk-greeter-settings" - "grub2-theme-gnuaxiom" - "p7zip" - "unar" - "unzip" - "zip" - "ttf-dejavu" - ) - - #Install packages - pacstrap /mnt ${packages[@]} - user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - - #Copy skel in the new system and desktop's background - cp -a /etc/skel/ /mnt/etc/ - cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png - - #Uncomment to allow members of group wheel to execute any command - sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers - - #Enable services - cp -a ~/.scriptsInstallation/x11.sh /mnt - - #Enable services with systemd - chmod +x /mnt/x11.sh - arch-chroot /mnt /x11.sh - rm /mnt/x11.sh - ;; - 6) - #Create a new username and save in temporal, to use after - if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null - then - sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal - fi - - echo "userName=$(dialog --stdout --inputbox "Insira o nome do usuĂ¡rio" 8 40)" >> ~/.scriptsInstallation/temporal - cp ~/.codecheck /mnt - cp ~/.scriptsInstallation/temporal /mnt - cp ~/.scriptsInstallation/userAccount.sh /mnt - chmod +x /mnt/userAccount.sh - arch-chroot /mnt /userAccount.sh - rm -r /mnt/userAccount.sh - ;; - *) - #Delete temporal file and umount partitions - rm -r /mnt/.codecheck - rm -r /mnt/temporal - umount /mnt/boot &> /dev/null - umount /mnt/home &> /dev/null - umount /mnt &> /dev/null - exit - ;; - esac -done diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh deleted file mode 100755 index 572bea2..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh +++ /dev/null @@ -1,270 +0,0 @@ -#!/bin/bash - -echo "$(dialog --stdout --inputbox "Adicione o nome do sistema:" 8 40)" > /etc/hostname - -ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Adicione o Fuso HorĂ¡rio:\nPor exemplo: America/Sao_Paulo" 8 40) /etc/localtime - -keymaps=( - "ANSI-dvorak ANSI-dvorak off" - "amiga-de amiga-de off" - "amiga-us amiga-us off" - "applkey applkey off" - "atari-de atari-de off" - "atari-se atari-se off" - "atari-uk-falcon atari-uk-falcon off" - "atari-us atari-us off" - "azerty azerty off" - "backspace backspace off" - "bashkir bashkir off" - "be-latin1 be-latin1 off" - "bg-cp1251 bg-cp1251 off" - "bg-cp855 bg-cp855 off" - "bg_bds-cp1251 bg_bds-cp1251 off" - "bg_bds-utf8 bg_bds-utf8 off" - "bg_pho-cp1251 bg_pho-cp1251 off" - "bg_pho-utf8 bg_pho-utf8 off" - "br-abnt br-abnt off" - "br-abnt2 br-abnt2 off" - "br-latin1-abnt2 br-latin1-abnt2 off" - "br-latin1-us br-latin1-us off" - "by by off" - "by-cp1251 by-cp1251 off" - "bywin-cp1251 bywin-cp1251 off" - "cf cf off" - "colemak colemak off" - "croat croat off" - "ctrl ctrl off" - "cz cz off" - "cz-cp1250 cz-cp1250 off" - "cz-lat2 cz-lat2 off" - "cz-lat2-prog cz-lat2-prog off" - "cz-qwertz cz-qwertz off" - "cz-us-qwertz cz-us-qwertz off" - "de de off" - "de-latin1 de-latin1 off" - "de-latin1-nodeadkeys de-latin1-nodeadkeys off" - "de-mobii de-mobii off" - "de_CH-latin1 de_CH-latin1 off" - "de_alt_UTF-8 de_alt_UTF-8 off" - "defkeymap defkeymap off" - "defkeymap_V1.0 defkeymap_V1.0 off" - "dk dk off" - "dk-latin1 dk-latin1 off" - "dvorak dvorak off" - "dvorak-ca-fr dvorak-ca-fr off" - "dvorak-es dvorak-es off" - "dvorak-fr dvorak-fr off" - "dvorak-l dvorak-l off" - "dvorak-r dvorak-r off" - "dvorak-ru dvorak-ru off" - "dvorak-sv-a1 dvorak-sv-a1 off" - "dvorak-sv-a5 dvorak-sv-a5 off" - "dvorak-uk dvorak-uk off" - "emacs emacs off" - "emacs2 emacs2 off" - "es es off" - "es-cp850 es-cp850 off" - "es-olpc es-olpc off" - "et et off" - "et-nodeadkeys et-nodeadkeys off" - "euro euro off" - "euro1 euro1 off" - "euro2 euro2 off" - "fi fi off" - "fr fr off" - "fr-bepo fr-bepo off" - "fr-bepo-latin9 fr-bepo-latin9 off" - "fr-latin1 fr-latin1 off" - "fr-latin9 fr-latin9 off" - "fr-pc fr-pc off" - "fr_CH fr_CH off" - "fr_CH-latin1 fr_CH-latin1 off" - "gr gr off" - "gr-pc gr-pc off" - "hu hu off" - "hu101 hu101 off" - "il il off" - "il-heb il-heb off" - "il-phonetic il-phonetic off" - "is-latin1 is-latin1 off" - "is-latin1-us is-latin1-us off" - "it it off" - "it-ibm it-ibm off" - "it2 it2 off" - "jp106 jp106 off" - "kazakh kazakh off" - "keypad keypad off" - "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off" - "kyrgyz kyrgyz off" - "la-latin1 la-latin1 off" - "lt lt off" - "lt.baltic lt.baltic off" - "lt.l4 lt.l4 off" - "lv lv off" - "lv-tilde lv-tilde off" - "mac-be mac-be off" - "mac-de-latin1 mac-de-latin1 off" - "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off" - "mac-de_CH mac-de_CH off" - "mac-dk-latin1 mac-dk-latin1 off" - "mac-dvorak mac-dvorak off" - "mac-es mac-es off" - "mac-euro mac-euro off" - "mac-euro2 mac-euro2 off" - "mac-fi-latin1 mac-fi-latin1 off" - "mac-fr mac-fr off" - "mac-fr_CH-latin1 mac-fr_CH-latin1 off" - "mac-it mac-it off" - "mac-pl mac-pl off" - "mac-pt-latin1 mac-pt-latin1 off" - "mac-se mac-se off" - "mac-template mac-template off" - "mac-uk mac-uk off" - "mac-us mac-us off" - "mk mk off" - "mk-cp1251 mk-cp1251 off" - "mk-utf mk-utf off" - "mk0 mk0 off" - "nl nl off" - "nl2 nl2 off" - "no no off" - "no-dvorak no-dvorak off" - "no-latin1 no-latin1 off" - "pc110 pc110 off" - "pl pl off" - "pl1 pl1 off" - "pl2 pl2 off" - "pl3 pl3 off" - "pl4 pl4 off" - "pt-latin1 pt-latin1 off" - "pt-latin9 pt-latin9 off" - "pt-olpc pt-olpc off" - "ro ro off" - "ro_std ro_std off" - "ro_win ro_win off" - "ru ru off" - "ru-cp1251 ru-cp1251 off" - "ru-ms ru-ms off" - "ru-yawerty ru-yawerty off" - "ru1 ru1 off" - "ru2 ru2 off" - "ru3 ru3 off" - "ru4 ru4 off" - "ru_win ru_win off" - "ruwin_alt-CP1251 ruwin_alt-CP1251 off" - "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off" - "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off" - "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off" - "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off" - "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off" - "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off" - "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off" - "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off" - "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off" - "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off" - "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off" - "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off" - "se-fi-ir209 se-fi-ir209 off" - "se-fi-lat6 se-fi-lat6 off" - "se-ir209 se-ir209 off" - "se-lat6 se-lat6 off" - "sg sg off" - "sg-latin1 sg-latin1 off" - "sg-latin1-lk450 sg-latin1-lk450 off" - "sk-prog-qwerty sk-prog-qwerty off" - "sk-prog-qwertz sk-prog-qwertz off" - "sk-qwerty sk-qwerty off" - "sk-qwertz sk-qwertz off" - "slovene slovene off" - "sr-cy sr-cy off" - "sun-pl sun-pl off" - "sun-pl-altgraph sun-pl-altgraph off" - "sundvorak sundvorak off" - "sunkeymap sunkeymap off" - "sunt4-es sunt4-es off" - "sunt4-fi-latin1 sunt4-fi-latin1 off" - "sunt4-no-latin1 sunt4-no-latin1 off" - "sunt5-cz-us sunt5-cz-us off" - "sunt5-de-latin1 sunt5-de-latin1 off" - "sunt5-es sunt5-es off" - "sunt5-fi-latin1 sunt5-fi-latin1 off" - "sunt5-fr-latin1 sunt5-fr-latin1 off" - "sunt5-ru sunt5-ru off" - "sunt5-uk sunt5-uk off" - "sunt5-us-cz sunt5-us-cz off" - "sunt6-uk sunt6-uk off" - "sv-latin1 sv-latin1 off" - "tj_alt-UTF8 tj_alt-UTF8 off" - "tr_f-latin5 tr_f-latin5 off" - "tr_q-latin5 tr_q-latin5 off" - "tralt tralt off" - "trf trf off" - "trf-fgGIod trf-fgGIod off" - "trq trq off" - "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off" - "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off" - "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off" - "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off" - "ua ua off" - "ua-cp1251 ua-cp1251 off" - "ua-utf ua-utf off" - "ua-utf-ws ua-utf-ws off" - "ua-ws ua-ws off" - "uk uk off" - "unicode unicode off" - "us us on" - "us-acentos us-acentos off" - "wangbe wangbe off" - "wangbe2 wangbe2 off" - "windowkeys windowkeys off" -) - -echo "KEYMAP=$(dialog --stdout --radiolist "Escolha a distribuiĂ§Ă£o do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf - -aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen) -index=0 -for i in $aux; do - i=$(echo $i | sed -e 's/#/ /g') - locales+=("$i" "$i" off) - if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then - locales[$index]="$i" - locales[$((index+1))]="$i" - locales[$((index+2))]="on" - fi - index=$((index+3)) -done - -locale=$(dialog --stdout --checklist "Escolha as Localizações" 20 70 50 "${locales[@]}") -locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g') - -for i in ${locale[@]}; do - i=$(echo $i | sed -e 's/#/ /g') - sed -i -e "s/#$i/$i/g" /etc/locale.gen -done - -locale-gen - -aux=$(locale -a) -index=0 -for i in $aux; do - langs+=("$i" "$i" on) - index=$((index+1)) -done - -echo "LANG=$(dialog --stdout --radiolist "Escolha a sua lĂ­ngua" 20 70 50 ${langs[@]})" > /etc/locale.conf - -mkinitcpio -p linux-libre - -hdd=$(cat /temporal | grep 'hdd=') -grub-install ${hdd#*=} -grub-mkconfig -o /boot/grub/grub.cfg - -password=$(dialog --stdout --passwordbox "Insira a senha para o root" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repita a senha para o root" 8 40) -done - -usermod -p $(openssl passwd ${password}) root - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/userAccount.sh deleted file mode 100755 index b97eda9..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/userAccount.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Insira a senha para o usuĂ¡rio ${user#*=}" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Repita a senha" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -if [ -x /usr/bin/setxkbmap ]; then - echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc -fi - -if [ -x /usr/bin/gsettings ]; then - sudo -u {user#*=} \ - if [ -d /usr/share/themes/Radiance-Purple ]; then - gsettings set org.mate.interface gtk-theme 'Radiance-Purple' - gsettings set org.mate.Marco.general theme 'Radiance-Purple' - fi \ - if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then - gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' - fi \ - if [ -d /usr/share/icons/mate ]; then - gsettings set org.mate.peripherals-mouse cursor-size '18' - gsettings set org.mate.peripherals-mouse cursor-theme 'mate' - fi \ - if [ -f /etc/wallpaper.png ]; then - gsettings set org.mate.background picture-filename '/etc/wallpaper.png' - fi -fi - -exit diff --git a/configs/mate/root-image/root/.scriptsInstallation/parabolaicon.png b/configs/mate/root-image/root/.scriptsInstallation/parabolaicon.png deleted file mode 100644 index aed32d7..0000000 Binary files a/configs/mate/root-image/root/.scriptsInstallation/parabolaicon.png and /dev/null differ diff --git a/configs/mate/root-image/root/.scriptsInstallation/x11.sh b/configs/mate/root-image/root/.scriptsInstallation/x11.sh deleted file mode 100755 index 1109311..0000000 --- a/configs/mate/root-image/root/.scriptsInstallation/x11.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -systemctl enable NetworkManager -systemctl enable lightdm diff --git a/configs/mate/root-image/root/.themes/Parabola/index.theme b/configs/mate/root-image/root/.themes/Parabola/index.theme deleted file mode 100644 index d6b2393..0000000 --- a/configs/mate/root-image/root/.themes/Parabola/index.theme +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=Parabola -Type=X-GNOME-Metatheme -Comment= - -[X-GNOME-Metatheme] -GtkTheme=Radiance-Purple -MetacityTheme=Radiance-Purple -IconTheme=RAVE-X-Dark-Purple -GtkColorScheme=base_color:#ffffff,fg_color:#4c4c4c,tooltip_fg_color:#ffffff,selected_bg_color:#7E5BC5,selected_fg_color:#FFFFFF,text_color:#3C3C3C,bg_color:#F6F6F6,tooltip_bg_color:#000000,link_color:#9D7EDA -CursorTheme=mate -CursorSize=18 -BackgroundImage=/etc/wallpaper.png diff --git a/configs/mate/root-image/root/.xinitrc b/configs/mate/root-image/root/.xinitrc deleted file mode 100644 index b11f426..0000000 --- a/configs/mate/root-image/root/.xinitrc +++ /dev/null @@ -1,9 +0,0 @@ -setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2) -systemctl start NetworkManager -gsettings set org.mate.interface gtk-theme 'Radiance-Purple' -gsettings set org.mate.Marco.general theme 'Radiance-Purple' -gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' -gsettings set org.mate.peripherals-mouse cursor-size '18' -gsettings set org.mate.peripherals-mouse cursor-theme 'mate' -gsettings set org.mate.background picture-filename '/etc/wallpaper.png' -exec mate-session diff --git a/configs/mate/root-image/root/.zlogin b/configs/mate/root-image/root/.zlogin deleted file mode 100644 index 7cdfca9..0000000 --- a/configs/mate/root-image/root/.zlogin +++ /dev/null @@ -1,2 +0,0 @@ -~/.automated_script.sh -startx diff --git a/configs/mate/root-image/root/Desktop/Parabola Installation CLI.desktop b/configs/mate/root-image/root/Desktop/Parabola Installation CLI.desktop deleted file mode 100644 index dcbf56e..0000000 --- a/configs/mate/root-image/root/Desktop/Parabola Installation CLI.desktop +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Version=1.0 -Type=Application -Terminal=true -Name[es_ES]=Instalador CLI de Parabola -Name[gl_ES]=Instalador CLI de Parabola -Name[pt_BR]=Instalador CLI do Parabola -Exec=/root/.scriptsInstallation/install.sh -Name=Parabola Installation CLI -Comment=Parabola Installation Scripts -Icon=/root/.scriptsInstallation/parabolaicon.png diff --git a/configs/mate/root-image/root/customize_root_image.sh b/configs/mate/root-image/root/customize_root_image.sh deleted file mode 100755 index f589652..0000000 --- a/configs/mate/root-image/root/customize_root_image.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/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 -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" -s /usr/bin/zsh parabola - -chmod 750 /etc/sudoers.d -chmod 440 /etc/sudoers.d/g_wheel - -sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist - -systemctl enable multi-user.target pacman-init.service choose-mirror.service NetworkManager.service - -sed -i "s/_DATE_/${iso_version}/" /etc/motd diff --git a/configs/mate/syslinux/parabolaiso.cfg b/configs/mate/syslinux/parabolaiso.cfg deleted file mode 100644 index 473e245..0000000 --- a/configs/mate/syslinux/parabolaiso.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT select - -LABEL select -COM32 boot/syslinux/whichsys.c32 -APPEND -pxe- pxe -sys- sys -iso- sys - -LABEL pxe -CONFIG boot/syslinux/parabolaiso_pxe_choose.cfg - -LABEL sys -CONFIG boot/syslinux/parabolaiso_sys_choose.cfg diff --git a/configs/mate/syslinux/parabolaiso_head.cfg b/configs/mate/syslinux/parabolaiso_head.cfg deleted file mode 100644 index a245309..0000000 --- a/configs/mate/syslinux/parabolaiso_head.cfg +++ /dev/null @@ -1,25 +0,0 @@ -SERIAL 0 38400 -UI boot/syslinux/vesamenu.c32 -MENU TITLE Parabola GNU/Linux-libre -MENU BACKGROUND boot/syslinux/splash.png - -MENU WIDTH 78 -MENU MARGIN 4 -MENU ROWS 7 -MENU VSHIFT 10 -MENU TABMSGROW 14 -MENU CMDLINEROW 14 -MENU HELPMSGROW 16 -MENU HELPMSGENDROW 29 - -# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu - -MENU COLOR border 35;40 #ff777caa #a0000000 std -MENU COLOR title 1;35;40 #ff777caa #a0000000 std -MENU COLOR sel 7;35;47 #e0ffffff #20777caa all -MENU COLOR unsel 35;40 #ff777caa #a0000000 std -MENU COLOR help 35;40 #c0b2b2b2 #a0000000 std -MENU COLOR timeout_msg 35;40 #ff777caa #00000000 std -MENU COLOR timeout 1;35;40 #ff777caa #00000000 std -MENU COLOR msg07 35;40 #ff777caa #a0000000 std -MENU COLOR tabmsg 35;40 #ff777caa #00000000 std diff --git a/configs/mate/syslinux/parabolaiso_pxe32.cfg b/configs/mate/syslinux/parabolaiso_pxe32.cfg deleted file mode 100644 index 9df86b7..0000000 --- a/configs/mate/syslinux/parabolaiso_pxe32.cfg +++ /dev/null @@ -1,32 +0,0 @@ -LABEL parabola32_nbd -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using NBD). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NBD) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} -SYSAPPEND 3 - -LABEL parabola32_nfs -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using NFS). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NFS) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt -SYSAPPEND 3 - -LABEL parabola32_http -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium (Using HTTP). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) (HTTP) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ -SYSAPPEND 3 diff --git a/configs/mate/syslinux/parabolaiso_pxe64.cfg b/configs/mate/syslinux/parabolaiso_pxe64.cfg deleted file mode 100644 index be3e3de..0000000 --- a/configs/mate/syslinux/parabolaiso_pxe64.cfg +++ /dev/null @@ -1,32 +0,0 @@ -LABEL parabola64_nbd -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NBD). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NBD) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver} -SYSAPPEND 3 - -LABEL parabola64_nfs -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NFS). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NFS) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt -SYSAPPEND 3 - -LABEL parabola64_http -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using HTTP). -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (HTTP) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/ -SYSAPPEND 3 diff --git a/configs/mate/syslinux/parabolaiso_pxe_32_inc.cfg b/configs/mate/syslinux/parabolaiso_pxe_32_inc.cfg deleted file mode 100644 index ba514cb..0000000 --- a/configs/mate/syslinux/parabolaiso_pxe_32_inc.cfg +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_pxe32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate/syslinux/parabolaiso_pxe_both_inc.cfg b/configs/mate/syslinux/parabolaiso_pxe_both_inc.cfg deleted file mode 100644 index 9396d9b..0000000 --- a/configs/mate/syslinux/parabolaiso_pxe_both_inc.cfg +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_pxe64.cfg -INCLUDE boot/syslinux/parabolaiso_pxe32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate/syslinux/parabolaiso_pxe_choose.cfg b/configs/mate/syslinux/parabolaiso_pxe_choose.cfg deleted file mode 100644 index a3a768f..0000000 --- a/configs/mate/syslinux/parabolaiso_pxe_choose.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT choose - -LABEL choose -COM32 boot/syslinux/ifcpu64.c32 -APPEND have64 -- nohave64 - -LABEL have64 -CONFIG boot/syslinux/parabolaiso_pxe_both_inc.cfg - -LABEL nohave64 -CONFIG boot/syslinux/parabolaiso_pxe_32_inc.cfg diff --git a/configs/mate/syslinux/parabolaiso_sys32.cfg b/configs/mate/syslinux/parabolaiso_sys32.cfg deleted file mode 100644 index 4abdf7a..0000000 --- a/configs/mate/syslinux/parabolaiso_sys32.cfg +++ /dev/null @@ -1,9 +0,0 @@ -LABEL parabola32 -TEXT HELP -Boot the Parabola GNU/Linux-libre (i686) live medium. -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (i686) -LINUX boot/i686/vmlinuz -INITRD boot/i686/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate/syslinux/parabolaiso_sys64.cfg b/configs/mate/syslinux/parabolaiso_sys64.cfg deleted file mode 100644 index b154459..0000000 --- a/configs/mate/syslinux/parabolaiso_sys64.cfg +++ /dev/null @@ -1,9 +0,0 @@ -LABEL parabola64 -TEXT HELP -Boot the Parabola GNU/Linux-libre (x86_64) live medium. -It allows you to install Parabola GNU/Linux-libre or perform system maintenance. -ENDTEXT -MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) -LINUX boot/x86_64/vmlinuz -INITRD boot/x86_64/parabolaiso.img -APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% diff --git a/configs/mate/syslinux/parabolaiso_sys_32_inc.cfg b/configs/mate/syslinux/parabolaiso_sys_32_inc.cfg deleted file mode 100644 index c641201..0000000 --- a/configs/mate/syslinux/parabolaiso_sys_32_inc.cfg +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_sys32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate/syslinux/parabolaiso_sys_both_inc.cfg b/configs/mate/syslinux/parabolaiso_sys_both_inc.cfg deleted file mode 100644 index 9dfb87f..0000000 --- a/configs/mate/syslinux/parabolaiso_sys_both_inc.cfg +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDE boot/syslinux/parabolaiso_head.cfg -INCLUDE boot/syslinux/parabolaiso_sys64.cfg -INCLUDE boot/syslinux/parabolaiso_sys32.cfg -INCLUDE boot/syslinux/parabolaiso_tail.cfg diff --git a/configs/mate/syslinux/parabolaiso_sys_choose.cfg b/configs/mate/syslinux/parabolaiso_sys_choose.cfg deleted file mode 100644 index d436062..0000000 --- a/configs/mate/syslinux/parabolaiso_sys_choose.cfg +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT choose - -LABEL choose -COM32 boot/syslinux/ifcpu64.c32 -APPEND have64 -- nohave64 - -LABEL have64 -CONFIG boot/syslinux/parabolaiso_sys_both_inc.cfg - -LABEL nohave64 -CONFIG boot/syslinux/parabolaiso_sys_32_inc.cfg diff --git a/configs/mate/syslinux/parabolaiso_tail.cfg b/configs/mate/syslinux/parabolaiso_tail.cfg deleted file mode 100644 index e85d8e1..0000000 --- a/configs/mate/syslinux/parabolaiso_tail.cfg +++ /dev/null @@ -1,27 +0,0 @@ -LABEL existing -TEXT HELP -Boot an existing operating system. -Press TAB to edit the disk and partition number to boot. -ENDTEXT -MENU LABEL Boot existing OS -COM32 boot/syslinux/chain.c32 -APPEND hd0 0 - -# http://www.memtest.org/ -LABEL memtest -MENU LABEL Run Memtest86+ (RAM test) -LINUX boot/memtest - -# http://hdt-project.org/ -LABEL hdt -MENU LABEL Hardware Information (HDT) -COM32 boot/syslinux/hdt.c32 -APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz - -LABEL reboot -MENU LABEL Reboot -COM32 boot/syslinux/reboot.c32 - -LABEL poweroff -MENU LABEL Power Off -COM32 boot/syslinux/poweroff.c32 diff --git a/configs/mate/syslinux/splash.png b/configs/mate/syslinux/splash.png deleted file mode 100644 index 03e9f19..0000000 Binary files a/configs/mate/syslinux/splash.png and /dev/null differ diff --git a/configs/mate/syslinux/splash.svg b/configs/mate/syslinux/splash.svg deleted file mode 100644 index c1b225e..0000000 --- a/configs/mate/syslinux/splash.svg +++ /dev/null @@ -1,284 +0,0 @@ - - - Parabola GNU/Linux-libre - - - - image/svg+xml - - Parabola GNU/Linux-libre - - 2015/02/28 - - - Jorge Araya Navarro + JosĂ© Miguel Silva Lara - - - - - MĂ¡rcio Alexandre Silva Delgado - - - - - CC BY-SA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/mate/syslinux/syslinux.cfg b/configs/mate/syslinux/syslinux.cfg deleted file mode 100644 index 0869ed2..0000000 --- a/configs/mate/syslinux/syslinux.cfg +++ /dev/null @@ -1,5 +0,0 @@ -DEFAULT loadconfig - -LABEL loadconfig - CONFIG parabolaiso.cfg - APPEND ../../ diff --git a/configs/talkingparabola-X11/build.sh b/configs/talkingparabola-X11/build.sh index 80caa2c..b7242a7 100755 --- a/configs/talkingparabola-X11/build.sh +++ b/configs/talkingparabola-X11/build.sh @@ -146,7 +146,7 @@ make_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 + truncate -s 64M ${work_dir}/iso/EFI/parabolaiso/efiboot.img mkfs.vfat -n PARABOLAISO_EFI ${work_dir}/iso/EFI/parabolaiso/efiboot.img mkdir -p ${work_dir}/efiboot diff --git a/configs/talkingparabola-X11/mkinitcpio.conf b/configs/talkingparabola-X11/mkinitcpio.conf index 1006d1d..fc2572b 100644 --- a/configs/talkingparabola-X11/mkinitcpio.conf +++ b/configs/talkingparabola-X11/mkinitcpio.conf @@ -1,2 +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" COMPRESSION="xz" -- cgit v1.2.2