diff options
Diffstat (limited to 'archiso_config/airootfs/etc')
11 files changed, 121 insertions, 0 deletions
diff --git a/archiso_config/airootfs/etc/group b/archiso_config/airootfs/etc/group new file mode 100644 index 0000000..c03e38b --- /dev/null +++ b/archiso_config/airootfs/etc/group @@ -0,0 +1,64 @@ +root:x:0:root +sys:x:3:bin +mem:x:8: +ftp:x:11: +mail:x:12:live +log:x:19: +smmsp:x:25: +proc:x:26: +games:x:50: +lock:x:54: +network:x:90: +floppy:x:94: +scanner:x:96: +power:x:98: +nobody:x:65534: +adm:x:999:daemon,live +wheel:x:998:live +utmp:x:997: +audio:x:996:live,mpd +disk:x:995:live +input:x:994:live +kmem:x:993: +kvm:x:992:libvirt-qemu,qemu +lp:x:991: +optical:x:990:live +render:x:989: +sgx:x:988: +storage:x:987:live +tty:x:5:live +uucp:x:986:live +video:x:985:live +users:x:984:live +groups:x:983: +systemd-journal:x:982: +rfkill:x:981: +bin:x:1:daemon +daemon:x:2:bin +http:x:33: +dbus:x:81: +systemd-coredump:x:980: +systemd-network:x:979: +systemd-oom:x:978: +systemd-journal-remote:x:977: +systemd-resolve:x:976: +systemd-timesync:x:975: +tss:x:974: +uuidd:x:973: +polkitd:x:102: +alpm:x:972: +git:x:971: +virtlogin:x:970: +libvirt:x:969: +avahi:x:968: +named:x:40: +colord:x:967: +libvirt-qemu:x:966: +lightdm:x:965: +mpd:x:45: +nsd:x:964: +qemu:x:963: +rtkit:x:133: +sddm:x:962: +seat:x:961: +live:x:1000: diff --git a/archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist... +When = PostTransaction +Depends = pacman-mirrorlist +Depends = sed +Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist diff --git a/archiso_config/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/archiso_config/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/archiso_config/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook @@ -0,0 +1,18 @@ +# remove from airootfs! +# As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. +# If not, they would be used when pacstrap is run in the live environment. + +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = * + +[Action] +Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... +When = PostTransaction +Depends = sh +Depends = coreutils +Depends = grep +Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" diff --git a/archiso_config/airootfs/etc/passwd b/archiso_config/airootfs/etc/passwd new file mode 100644 index 0000000..89a6596 --- /dev/null +++ b/archiso_config/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/usr/bin/bash +live:x:1000:1000::/home/archie:/usr/bin/bash diff --git a/archiso_config/airootfs/etc/sddm.conf.d/autologin.conf b/archiso_config/airootfs/etc/sddm.conf.d/autologin.conf new file mode 100644 index 0000000..94120e7 --- /dev/null +++ b/archiso_config/airootfs/etc/sddm.conf.d/autologin.conf @@ -0,0 +1,3 @@ +[Autologin] +User=live +Session=xfce diff --git a/archiso_config/airootfs/etc/shadow b/archiso_config/airootfs/etc/shadow index 7edfd69..88e1e9f 100644 --- a/archiso_config/airootfs/etc/shadow +++ b/archiso_config/airootfs/etc/shadow @@ -1 +1,2 @@ root::14871:::::: +live::14871:::::: diff --git a/archiso_config/airootfs/etc/sudoers b/archiso_config/airootfs/etc/sudoers new file mode 100644 index 0000000..31694bf --- /dev/null +++ b/archiso_config/airootfs/etc/sudoers @@ -0,0 +1,5 @@ +Defaults!/usr/bin/visudo env_keep += "SUDO_EDITOR EDITOR VISUAL" +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/bin" +root ALL=(ALL:ALL) ALL +%wheel ALL=(ALL:ALL) NOPASSWD: ALL +@includedir /etc/sudoers.d diff --git a/archiso_config/airootfs/etc/systemd/system/display-manager.service b/archiso_config/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/archiso_config/airootfs/etc/systemd/system/display-manager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/sddm.service
\ No newline at end of file diff --git a/archiso_config/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/archiso_config/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/archiso_config/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager.service
\ No newline at end of file diff --git a/archiso_config/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/archiso_config/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/archiso_config/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager-wait-online.service
\ No newline at end of file diff --git a/archiso_config/airootfs/etc/udev/hwdb.d/01-keyboard.hwdb b/archiso_config/airootfs/etc/udev/hwdb.d/01-keyboard.hwdb new file mode 100644 index 0000000..6321c7f --- /dev/null +++ b/archiso_config/airootfs/etc/udev/hwdb.d/01-keyboard.hwdb @@ -0,0 +1,12 @@ +# /etc/udev.d/hwdb/01-keyboard.hwdb +# https://wiki.archlinux.org/title/map_scancodes_to_keycodes +# also 'yum -y install evtest' +# evdev:name:AT Translated Set 2 keyboard:* +# systemd-hwdb update && udevadm trigger +# or perhaps: +# udevadm hwdb -u +# This should match all AT keyboards, apparently +evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr* + KEYBOARD_KEY_3a=leftctrl + KEYBOARD_KEY_1d=leftctrl + KEYBOARD_KEY_9d=capslock |
