From 601000ddccdc04d66f2c6e09f8c85585c8c197cf Mon Sep 17 00:00:00 2001 From: abveritas Date: Sun, 3 Jun 2012 18:43:59 +0000 Subject: [PATCH] moving git files for filesystem to PKGBUILD dir --- filesystem/crypttab | 33 +++++++++++++++++++++++ filesystem/fstab | 6 +++++ filesystem/group | 31 +++++++++++++++++++++ filesystem/gshadow | 31 +++++++++++++++++++++ filesystem/host.conf | 8 ++++++ filesystem/hosts | 9 +++++++ filesystem/issue | 1 + filesystem/ld.so.conf | 7 +++++ filesystem/modprobe.d.usb-load-ehci-first | 2 ++ filesystem/motd | 0 filesystem/nsswitch.conf | 19 +++++++++++++ filesystem/passwd | 7 +++++ filesystem/profile | 27 +++++++++++++++++++ filesystem/resolv.conf | 8 ++++++ filesystem/securetty | 15 +++++++++++ filesystem/shadow | 7 +++++ filesystem/shells | 8 ++++++ 17 files changed, 219 insertions(+) create mode 100644 filesystem/crypttab create mode 100644 filesystem/fstab create mode 100644 filesystem/group create mode 100644 filesystem/gshadow create mode 100644 filesystem/host.conf create mode 100644 filesystem/hosts create mode 100644 filesystem/issue create mode 100644 filesystem/ld.so.conf create mode 100644 filesystem/modprobe.d.usb-load-ehci-first create mode 100644 filesystem/motd create mode 100644 filesystem/nsswitch.conf create mode 100644 filesystem/passwd create mode 100644 filesystem/profile create mode 100644 filesystem/resolv.conf create mode 100644 filesystem/securetty create mode 100644 filesystem/shadow create mode 100644 filesystem/shells diff --git a/filesystem/crypttab b/filesystem/crypttab new file mode 100644 index 000000000..dd6994b5a --- /dev/null +++ b/filesystem/crypttab @@ -0,0 +1,33 @@ +# crypttab: Mappings for encrypted partitions +# +# Each mapped device will be created in /dev/mapper, so your /etc/fstab +# should use the /dev/mapper/{NAME} paths for encrypted devices. +# +# Each PASSWORD field can be an absolute pathname to a key file (starting +# with a slash, recommended) or a literal string that will be used as +# a passphrase. To use special characters in the passphrase, surround it +# by quotes, the usual bash quoting rules apply. +# There are two special keywords that cannot be used as passphrases: +# - ASK ask for a passphrase on boot +# - SWAP use a random key and create a swapspace afterwards +# WARNING: use the SWAP keyword carefully, as it overwrites the data +# on the specified partition +# +# To create a key file: +# hashalot -n 32 ripemd160 >/etc/crytfs.key +# or +# dd if=/dev/urandom of=/etc/cryptfs.key bs=256 count=1 +# +# To pass additional options to cryptsetup for non-LUKS partitions, use the +# fourth column. +# +# NOTE: Do not list your root (/) partition here, it must be set up +# beforehand by the initramfs (/etc/mkinitcpio.conf). + + +# NAME SOURCE DEVICE PASSWORD OPTIONS +#home /dev/hda4 mypassword +#data1 /dev/hda3 "my \"password\"" +#data2 /dev/hda5 /etc/cryptfs.key +#swap /dev/hdx4 SWAP -c aes-cbc-essiv:sha256 -s 256 +#vol /dev/hdb7 ASK diff --git a/filesystem/fstab b/filesystem/fstab new file mode 100644 index 000000000..d4eb05748 --- /dev/null +++ b/filesystem/fstab @@ -0,0 +1,6 @@ +# +# /etc/fstab: static file system information +# +# +devpts /dev/pts devpts defaults 0 0 +shm /dev/shm tmpfs nodev,nosuid 0 0 diff --git a/filesystem/group b/filesystem/group new file mode 100644 index 000000000..261746d9e --- /dev/null +++ b/filesystem/group @@ -0,0 +1,31 @@ +root:x:0:root +bin:x:1:root,bin,daemon +daemon:x:2:root,bin,daemon +sys:x:3:root,bin +adm:x:4:root,daemon +tty:x:5: +disk:x:6:root +lp:x:7:daemon +mem:x:8: +kmem:x:9: +wheel:x:10:root +ftp:x:11: +mail:x:12: +uucp:x:14: +log:x:19:root +utmp:x:20: +locate:x:21: +rfkill:x:24: +smmsp:x:25: +http:x:33: +games:x:50: +network:x:90: +video:x:91: +audio:x:92: +optical:x:93: +floppy:x:94: +storage:x:95: +scanner:x:96: +power:x:98: +nobody:x:99: +users:x:100: diff --git a/filesystem/gshadow b/filesystem/gshadow new file mode 100644 index 000000000..ed176823e --- /dev/null +++ b/filesystem/gshadow @@ -0,0 +1,31 @@ +root:::root +bin:::root,bin,daemon +daemon:::root,bin,daemon +sys:::root,bin +adm:::root,daemon +tty::: +disk:::root +lp:::daemon +mem::: +kmem::: +wheel:::root +ftp::: +mail::: +uucp::: +log:::root +utmp:x:: +locate::: +rfkill:x:: +smmsp::: +http::: +games::: +network:x:: +video:x:: +audio::: +optical::: +floppy:x:: +storage:x:: +scanner:x:: +power:x:: +nobody::: +users::: diff --git a/filesystem/host.conf b/filesystem/host.conf new file mode 100644 index 000000000..cf52fe561 --- /dev/null +++ b/filesystem/host.conf @@ -0,0 +1,8 @@ +# +# /etc/host.conf +# + +order hosts,bind +multi on + +# End of file diff --git a/filesystem/hosts b/filesystem/hosts new file mode 100644 index 000000000..1747f9196 --- /dev/null +++ b/filesystem/hosts @@ -0,0 +1,9 @@ +# +# /etc/hosts: static lookup table for host names +# + +# +127.0.0.1 localhost.localdomain localhost +::1 localhost.localdomain localhost + +# End of file diff --git a/filesystem/issue b/filesystem/issue new file mode 100644 index 000000000..e2fb84cca --- /dev/null +++ b/filesystem/issue @@ -0,0 +1 @@ +Chakra-Project \r (\l) \ No newline at end of file diff --git a/filesystem/ld.so.conf b/filesystem/ld.so.conf new file mode 100644 index 000000000..dfac45683 --- /dev/null +++ b/filesystem/ld.so.conf @@ -0,0 +1,7 @@ +# +# /etc/ld.so.conf +# + +include /etc/ld.so.conf.d/*.conf + +# End of file diff --git a/filesystem/modprobe.d.usb-load-ehci-first b/filesystem/modprobe.d.usb-load-ehci-first new file mode 100644 index 000000000..947379411 --- /dev/null +++ b/filesystem/modprobe.d.usb-load-ehci-first @@ -0,0 +1,2 @@ +softdep ohci_hcd pre: ehci_hcd +softdep uhci_hcd pre: ehci_hcd diff --git a/filesystem/motd b/filesystem/motd new file mode 100644 index 000000000..e69de29bb diff --git a/filesystem/nsswitch.conf b/filesystem/nsswitch.conf new file mode 100644 index 000000000..6e459adb6 --- /dev/null +++ b/filesystem/nsswitch.conf @@ -0,0 +1,19 @@ +# Begin /etc/nsswitch.conf + +passwd: files +group: files +shadow: files + +publickey: files + +hosts: files dns +networks: files + +protocols: files +services: files +ethers: files +rpc: files + +netgroup: files + +# End /etc/nsswitch.conf diff --git a/filesystem/passwd b/filesystem/passwd new file mode 100644 index 000000000..a4a24e34f --- /dev/null +++ b/filesystem/passwd @@ -0,0 +1,7 @@ +root:x:0:0:root:/root:/bin/bash +bin:x:1:1:bin:/bin:/bin/false +daemon:x:2:2:daemon:/sbin:/bin/false +mail:x:8:12:mail:/var/spool/mail:/bin/false +ftp:x:14:11:ftp:/srv/ftp:/bin/false +http:x:33:33:http:/srv/http:/bin/false +nobody:x:99:99:nobody:/:/bin/false diff --git a/filesystem/profile b/filesystem/profile new file mode 100644 index 000000000..3bc22db9f --- /dev/null +++ b/filesystem/profile @@ -0,0 +1,27 @@ +# /etc/profile + +#Set our umask +umask 022 + +# Set our default path +PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" +export PATH + +# Load profiles from /etc/profile.d +if test -d /etc/profile.d/; then + for profile in /etc/profile.d/*.sh; do + test -r "$profile" && . "$profile" + done + unset profile +fi + +# Source global bash config +if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then + . /etc/bash.bashrc +fi + +# Termcap is outdated, old, and crusty, kill it. +unset TERMCAP + +# Man is much better than us at figuring this out +unset MANPATH diff --git a/filesystem/resolv.conf b/filesystem/resolv.conf new file mode 100644 index 000000000..cecafba03 --- /dev/null +++ b/filesystem/resolv.conf @@ -0,0 +1,8 @@ +# +# /etc/resolv.conf +# + +#search +#nameserver + +# End of file diff --git a/filesystem/securetty b/filesystem/securetty new file mode 100644 index 000000000..5a2235ce7 --- /dev/null +++ b/filesystem/securetty @@ -0,0 +1,15 @@ +# +# /etc/securetty +# + +console +tty1 +tty2 +tty3 +tty4 +tty5 +tty6 +ttyS0 +hvc0 + +# End of file diff --git a/filesystem/shadow b/filesystem/shadow new file mode 100644 index 000000000..ccab68d33 --- /dev/null +++ b/filesystem/shadow @@ -0,0 +1,7 @@ +root::14871:::::: +bin:x:14871:::::: +daemon:x:14871:::::: +mail:x:14871:::::: +ftp:x:14871:::::: +http:x:14871:::::: +nobody:x:14871:::::: diff --git a/filesystem/shells b/filesystem/shells new file mode 100644 index 000000000..18c1aeffa --- /dev/null +++ b/filesystem/shells @@ -0,0 +1,8 @@ +# +# /etc/shells +# + +/bin/sh +/bin/bash + +# End of file -- GitLab