summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:36 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:36 -0300
commit7105fb70073c08d24b36dc48e5673ba39d3434ac (patch)
treeef87cf8a988d4a714cd99e542e2c952fa4635ac9 /configs/profile/root-image/etc
parent654d8bba202b0a1827a652d5f2c9979f0814ad6a (diff)
Leave only directory for profile releng
Diffstat (limited to 'configs/profile/root-image/etc')
-rw-r--r--configs/profile/root-image/etc/fstab0
-rw-r--r--configs/profile/root-image/etc/hostname1
-rw-r--r--configs/profile/root-image/etc/locale.conf1
-rw-r--r--configs/profile/root-image/etc/pam.d/su6
-rw-r--r--configs/profile/root-image/etc/sudoers.d/g_wheel1
-rw-r--r--configs/profile/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount8
-rw-r--r--configs/profile/root-image/etc/systemd/system/pacman-init.service16
7 files changed, 33 insertions, 0 deletions
diff --git a/configs/profile/root-image/etc/fstab b/configs/profile/root-image/etc/fstab
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/configs/profile/root-image/etc/fstab
diff --git a/configs/profile/root-image/etc/hostname b/configs/profile/root-image/etc/hostname
new file mode 100644
index 0000000..8aaf41b
--- /dev/null
+++ b/configs/profile/root-image/etc/hostname
@@ -0,0 +1 @@
+parabolaiso
diff --git a/configs/profile/root-image/etc/locale.conf b/configs/profile/root-image/etc/locale.conf
new file mode 100644
index 0000000..01ec548
--- /dev/null
+++ b/configs/profile/root-image/etc/locale.conf
@@ -0,0 +1 @@
+LANG=en_US.UTF-8
diff --git a/configs/profile/root-image/etc/pam.d/su b/configs/profile/root-image/etc/pam.d/su
new file mode 100644
index 0000000..a291042
--- /dev/null
+++ b/configs/profile/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/profile/root-image/etc/sudoers.d/g_wheel b/configs/profile/root-image/etc/sudoers.d/g_wheel
new file mode 100644
index 0000000..8c45359
--- /dev/null
+++ b/configs/profile/root-image/etc/sudoers.d/g_wheel
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD: ALL
diff --git a/configs/profile/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/profile/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount
new file mode 100644
index 0000000..4eab551
--- /dev/null
+++ b/configs/profile/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/profile/root-image/etc/systemd/system/pacman-init.service b/configs/profile/root-image/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..3414ebc
--- /dev/null
+++ b/configs/profile/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