From 0e424891efc934ac7e5b334ffb19f3ef667c8b2a Mon Sep 17 00:00:00 2001 From: Drtan Samos Date: Sun, 21 Apr 2013 18:42:33 +0200 Subject: Introducing GNOME featured ISO. --- configs/gnome/root-image/etc/fstab | 0 configs/gnome/root-image/etc/hostname | 1 + configs/gnome/root-image/etc/locale.conf | 1 + configs/gnome/root-image/etc/pam.d/su | 6 ++++++ configs/gnome/root-image/etc/sudoers.d/g_wheel | 1 + .../etc/systemd/system/etc-pacman.d-gnupg.mount | 8 ++++++++ .../root-image/etc/systemd/system/pacman-init.service | 16 ++++++++++++++++ 7 files changed, 33 insertions(+) create mode 100644 configs/gnome/root-image/etc/fstab create mode 100644 configs/gnome/root-image/etc/hostname create mode 100644 configs/gnome/root-image/etc/locale.conf create mode 100644 configs/gnome/root-image/etc/pam.d/su create mode 100644 configs/gnome/root-image/etc/sudoers.d/g_wheel create mode 100644 configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount create mode 100644 configs/gnome/root-image/etc/systemd/system/pacman-init.service (limited to 'configs/gnome/root-image/etc') diff --git a/configs/gnome/root-image/etc/fstab b/configs/gnome/root-image/etc/fstab new file mode 100644 index 0000000..e69de29 diff --git a/configs/gnome/root-image/etc/hostname b/configs/gnome/root-image/etc/hostname new file mode 100644 index 0000000..8aaf41b --- /dev/null +++ b/configs/gnome/root-image/etc/hostname @@ -0,0 +1 @@ +parabolaiso diff --git a/configs/gnome/root-image/etc/locale.conf b/configs/gnome/root-image/etc/locale.conf new file mode 100644 index 0000000..01ec548 --- /dev/null +++ b/configs/gnome/root-image/etc/locale.conf @@ -0,0 +1 @@ +LANG=en_US.UTF-8 diff --git a/configs/gnome/root-image/etc/pam.d/su b/configs/gnome/root-image/etc/pam.d/su new file mode 100644 index 0000000..a291042 --- /dev/null +++ b/configs/gnome/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/gnome/root-image/etc/sudoers.d/g_wheel b/configs/gnome/root-image/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..8c45359 --- /dev/null +++ b/configs/gnome/root-image/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 0000000..4eab551 --- /dev/null +++ b/configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount @@ -0,0 +1,8 @@ +[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/gnome/root-image/etc/systemd/system/pacman-init.service b/configs/gnome/root-image/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..3414ebc --- /dev/null +++ b/configs/gnome/root-image/etc/systemd/system/pacman-init.service @@ -0,0 +1,16 @@ +[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 -- cgit v1.2.2