summaryrefslogtreecommitdiff
path: root/pcr/filesystem-nosystemd
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/filesystem-nosystemd')
-rw-r--r--pcr/filesystem-nosystemd/PKGBUILD167
-rw-r--r--pcr/filesystem-nosystemd/crypttab17
-rw-r--r--pcr/filesystem-nosystemd/filesystem.install54
-rw-r--r--pcr/filesystem-nosystemd/fstab4
-rw-r--r--pcr/filesystem-nosystemd/group34
-rw-r--r--pcr/filesystem-nosystemd/gshadow34
-rw-r--r--pcr/filesystem-nosystemd/host.conf8
-rw-r--r--pcr/filesystem-nosystemd/hosts9
-rw-r--r--pcr/filesystem-nosystemd/issue2
-rw-r--r--pcr/filesystem-nosystemd/ld.so.conf7
-rw-r--r--pcr/filesystem-nosystemd/locale.sh26
-rw-r--r--pcr/filesystem-nosystemd/motd0
-rw-r--r--pcr/filesystem-nosystemd/nsswitch.conf19
-rw-r--r--pcr/filesystem-nosystemd/os-release9
-rw-r--r--pcr/filesystem-nosystemd/parabola.7.txt89
-rw-r--r--pcr/filesystem-nosystemd/passwd7
-rw-r--r--pcr/filesystem-nosystemd/profile27
-rw-r--r--pcr/filesystem-nosystemd/resolv.conf8
-rw-r--r--pcr/filesystem-nosystemd/securetty15
-rw-r--r--pcr/filesystem-nosystemd/shadow7
-rw-r--r--pcr/filesystem-nosystemd/shells8
21 files changed, 551 insertions, 0 deletions
diff --git a/pcr/filesystem-nosystemd/PKGBUILD b/pcr/filesystem-nosystemd/PKGBUILD
new file mode 100644
index 000000000..a9b83fbe0
--- /dev/null
+++ b/pcr/filesystem-nosystemd/PKGBUILD
@@ -0,0 +1,167 @@
+# $Id$
+# Maintainer (Arch): Sébastien Luttringer
+# Contributor (Arch): Tom Gundersen <teg@jklm.no>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+
+pkgname=filesystem-nosystemd
+pkgver=2017.10
+pkgrel=2.parabola2
+pkgdesc='Base Parabola GNU/Linux-libre files'
+arch=('i686' 'x86_64' 'armv7h')
+license=('GPL')
+url='https://www.parabola.nu'
+groups=('base-openrc')
+install='filesystem.install'
+makedepends=('asciidoc')
+depends=('iana-etc')
+provides=("filesystem=$pkgver")
+replaces=(filesystem-parabola)
+conflicts=(filesystem-parabola filesystem)
+backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd'
+ 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf'
+ 'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue')
+source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
+ 'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf'
+ 'shells' 'gshadow' 'profile' 'parabola.7.txt' 'locale.sh')
+sha256sums=('faed5839ed5e6797d7fc67f7fc0b003554d32250f3ae2d3241603c70cdc646b0'
+ '3ad448c78cab733759ae3365620504b1444e854effd066f1c7174652f046ebe1'
+ 'e9fd66742e96d16f4a244a3037522467c12e301f8e1337cda61eb67b78198534'
+ 'f7b38167196943d8fb9d2e75358c7262d5fe1082b257c4c8caffe3b6de429cb5'
+ 'f21f35e7d3083aeee19beb48478130d119b2572922a4889df98326d551540eda'
+ '00d5d103837480d26cd350753382c3211df6bc304ee59ffaab130fad108f6a86'
+ 'a55259d43b287c35ee94c736f79eea68c72318e67e5f7b8c0a6dfbcf0d4fee13'
+ '34b820ca01b9ad7e4792e92122b39e891e647c016b7ecccb220d6f4e72eee5c7'
+ '86dff00854a7f2280bb799484ccc39ad449a171448926880742ae64f41666a43'
+ '05c90d4208ae9a59156fa6449b00d92cd3dc1aba8ae746bd78e813a74e309ede'
+ '13d1f59c1d0860bf43da996e2b9a6ab2744791614241ed9a1376b7e7e30de3a8'
+ 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
+ 'b4b5823ea612d18b8aaa59e3c662fb756001f1ce2fcc936a4d741b11002ed19d'
+ '74d2be3dd69600bcf0da751a1804a386bf4ad143b76d79c336acaa5c600e7991'
+ '6cff886fe9e23096d5f67b7857a747ebaf10431be5a2afc40236de5ad13a654f'
+ '33d4bec57c59f378e79ed8f3e4387e65fdd5cfd3d551d7cb015f7cf5cfad72f5'
+ '93d7d21f7e5a644ba533847beff35167efc4624571c9b68bea6cf2b6a13ab5ff'
+ '887e2fe6128172ab737d45b6703728ceef80d066ef64ee16eb9db22bef676734'
+ '331805ff85b80ae2444be58740f1cf41be56fb6e254e930677f1e36e8f95bee1')
+
+
+lint() {
+ # ensure that passwd is sync'd to shadow and group is sync'd to gshadow.
+ local r=0
+
+ local passwd shadow group gshadow
+
+ for f in passwd shadow group gshadow; do
+ mapfile -t "$f" < <(cut -d: -f1 "$f" | sort)
+ done
+
+ # we can cheat and do simple string comparison only because we can make some
+ # assumptions about the data in these files
+ if [[ ${passwd[*]} != "${shadow[*]}" ]]; then
+ error 'passwd is not in sync with shadow!'
+ r=1
+ fi
+
+ if [[ ${group[*]} != "${gshadow[*]}" ]]; then
+ error 'group is not in sync with gshadow!'
+ r=1
+ fi
+
+ return $r
+}
+
+build() {
+ cd "$srcdir"
+
+ lint
+
+ a2x -d manpage -f manpage parabola.7.txt
+}
+
+package() {
+ cd "$pkgdir"
+
+ #
+ # setup root filesystem
+ #
+ for d in boot dev etc home mnt usr var opt srv/http run; do
+ install -d -m755 $d
+ done
+ install -d -m555 proc
+ install -d -m555 sys
+ install -d -m0750 root
+ install -d -m1777 tmp
+ # vsftpd won't run with write perms on /srv/ftp
+ install -d -m555 -g ftp srv/ftp
+
+ # setup /etc and /usr/share/factory/etc
+ install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc
+ for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile; do
+ install -m644 "$srcdir"/$f etc/
+ install -m644 "$srcdir"/$f usr/share/factory/etc/
+ done
+ ln -s ../proc/self/mounts etc/mtab
+ for f in gshadow shadow crypttab; do
+ install -m600 "$srcdir"/$f etc/
+ install -m600 "$srcdir"/$f usr/share/factory/etc/
+ done
+ touch etc/parabola-release
+ ln -sv parabola-release etc/arch-release
+ install -m755 "$srcdir"/locale.sh etc/profile.d/locale.sh
+ install -Dm644 "$srcdir"/os-release "$pkgdir"/usr/lib/os-release
+ ln -s ../usr/lib/os-release etc/os-release
+
+ # setup /var
+ for d in cache local opt log/old lib/misc empty; do
+ install -d -m755 var/$d
+ done
+ install -d -m1777 var/{tmp,spool/mail}
+
+ # allow setgid games to write scores
+ install -d -m775 -g games var/games
+ ln -s spool/mail var/mail
+ ln -s ../run var/run
+ ln -s ../run/lock var/lock
+
+ #
+ # setup /usr hierarchy
+ #
+ for d in bin include lib share/misc src; do
+ install -d -m755 usr/$d
+ done
+ for d in $(seq 8); do
+ install -d -m755 usr/share/man/man$d
+ done
+
+ #
+ # add lib symlinks
+ #
+ ln -s usr/lib "$pkgdir"/lib
+ [[ $CARCH = 'x86_64' ]] && (
+ ln -s usr/lib "$pkgdir"/lib64
+ ln -s lib "$pkgdir"/usr/lib64
+ )
+
+ #
+ # add bin symlinks
+ #
+ ln -s usr/bin "$pkgdir"/bin
+ ln -s usr/bin "$pkgdir"/sbin
+ ln -s bin "$pkgdir"/usr/sbin
+
+ #
+ # install parabola(7) manpage
+ #
+ install -D -m644 "$srcdir"/parabola.7 usr/share/man/man7/parabola.7
+
+ #
+ # setup /usr/local hierarchy
+ #
+ for d in bin etc games include lib man sbin share src; do
+ install -d -m755 usr/local/$d
+ done
+ ln -s ../man usr/local/share/man
+
+ # remove conflict with systemd
+ rm usr/share/factory/etc/nsswitch.conf
+}
diff --git a/pcr/filesystem-nosystemd/crypttab b/pcr/filesystem-nosystemd/crypttab
new file mode 100644
index 000000000..96065a060
--- /dev/null
+++ b/pcr/filesystem-nosystemd/crypttab
@@ -0,0 +1,17 @@
+# 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.
+#
+# The Arch/Parabola specific syntax has been deprecated, see crypttab(5) for the
+# new supported syntax.
+#
+# NOTE: Do not list your root (/) partition here, it must be set up
+# beforehand by the initramfs (/etc/mkinitcpio.conf).
+
+# <name> <device> <password> <options>
+# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1
+# data1 /dev/sda3 /etc/mypassword2
+# data2 /dev/sda5 /etc/cryptfs.key
+# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
+# vol /dev/sdb7 none
diff --git a/pcr/filesystem-nosystemd/filesystem.install b/pcr/filesystem-nosystemd/filesystem.install
new file mode 100644
index 000000000..6e78d4583
--- /dev/null
+++ b/pcr/filesystem-nosystemd/filesystem.install
@@ -0,0 +1,54 @@
+# args: <group> [options]
+_addgroup() {
+ if ! getent group "$1" >/dev/null && groupadd "$@" >/dev/null; then
+ need_group_update=1
+ fi
+}
+
+# args: <group> [options]
+_adduser() {
+ if ! getent passwd "$1" >/dev/null && useradd "$@" >/dev/null; then
+ need_passwd_update=1
+ fi
+}
+
+post_upgrade() {
+ _addgroup optical -g 93
+ _addgroup audio -g 92
+ _addgroup video -g 91
+ _addgroup floppy -g 94
+ _addgroup storage -g 95
+ _addgroup log -g 19
+ _addgroup utmp -g 20
+ _addgroup power -g 98
+ _addgroup network -g 90
+ _addgroup games -g 50
+ _addgroup uucp -g 14
+ _addgroup proc -g 26
+ _addgroup http -g 33
+ _adduser http -u 33 -d /srv/http -g http -s /usr/bin/nologin
+ _addgroup scanner -g 96
+ _addgroup rfkill -g 24
+ _addgroup lock -g 54
+ _addgroup input -g 97
+
+ # update shadow files if needed
+ if (( need_group_update )); then
+ grpconv >/dev/null
+ fi
+
+ if (( need_passwd_update )); then
+ pwconv >/dev/null
+ fi
+
+ if ! grep -q '^include /etc/ld.so.conf.d/\*.conf$' etc/ld.so.conf; then
+ echo 'include /etc/ld.so.conf.d/*.conf' >> etc/ld.so.conf
+ fi
+
+ # set "Last password change" > 0; otherwise su $user wont work
+ for user in bin daemon mail ftp http nobody; do
+ if LANG=C chage -l ${user} | grep -q 'password must be changed'; then
+ chage -d 14871 ${user}
+ fi
+ done
+}
diff --git a/pcr/filesystem-nosystemd/fstab b/pcr/filesystem-nosystemd/fstab
new file mode 100644
index 000000000..b6716c14a
--- /dev/null
+++ b/pcr/filesystem-nosystemd/fstab
@@ -0,0 +1,4 @@
+#
+# /etc/fstab: static file system information
+#
+# <file system> <dir> <type> <options> <dump> <pass>
diff --git a/pcr/filesystem-nosystemd/group b/pcr/filesystem-nosystemd/group
new file mode 100644
index 000000000..002b8e075
--- /dev/null
+++ b/pcr/filesystem-nosystemd/group
@@ -0,0 +1,34 @@
+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:
+proc:x:26:
+http:x:33:
+games:x:50:
+lock:x:54:
+network:x:90:
+video:x:91:
+audio:x:92:
+optical:x:93:
+floppy:x:94:
+storage:x:95:
+scanner:x:96:
+input:x:97:
+power:x:98:
+nobody:x:99:
+users:x:100:
diff --git a/pcr/filesystem-nosystemd/gshadow b/pcr/filesystem-nosystemd/gshadow
new file mode 100644
index 000000000..8d8a4e899
--- /dev/null
+++ b/pcr/filesystem-nosystemd/gshadow
@@ -0,0 +1,34 @@
+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:::
+proc:::
+http:::
+games:::
+lock:::
+network:x::
+video:x::
+audio:::
+optical:::
+floppy:x::
+storage:x::
+scanner:x::
+input:x::
+power:x::
+nobody:::
+users:::
diff --git a/pcr/filesystem-nosystemd/host.conf b/pcr/filesystem-nosystemd/host.conf
new file mode 100644
index 000000000..cf52fe561
--- /dev/null
+++ b/pcr/filesystem-nosystemd/host.conf
@@ -0,0 +1,8 @@
+#
+# /etc/host.conf
+#
+
+order hosts,bind
+multi on
+
+# End of file
diff --git a/pcr/filesystem-nosystemd/hosts b/pcr/filesystem-nosystemd/hosts
new file mode 100644
index 000000000..1747f9196
--- /dev/null
+++ b/pcr/filesystem-nosystemd/hosts
@@ -0,0 +1,9 @@
+#
+# /etc/hosts: static lookup table for host names
+#
+
+#<ip-address> <hostname.domain.org> <hostname>
+127.0.0.1 localhost.localdomain localhost
+::1 localhost.localdomain localhost
+
+# End of file
diff --git a/pcr/filesystem-nosystemd/issue b/pcr/filesystem-nosystemd/issue
new file mode 100644
index 000000000..b001c55dd
--- /dev/null
+++ b/pcr/filesystem-nosystemd/issue
@@ -0,0 +1,2 @@
+Parabola GNU/Linux-libre \r (\n) (\l)
+
diff --git a/pcr/filesystem-nosystemd/ld.so.conf b/pcr/filesystem-nosystemd/ld.so.conf
new file mode 100644
index 000000000..dfac45683
--- /dev/null
+++ b/pcr/filesystem-nosystemd/ld.so.conf
@@ -0,0 +1,7 @@
+#
+# /etc/ld.so.conf
+#
+
+include /etc/ld.so.conf.d/*.conf
+
+# End of file
diff --git a/pcr/filesystem-nosystemd/locale.sh b/pcr/filesystem-nosystemd/locale.sh
new file mode 100644
index 000000000..11b7dc9ec
--- /dev/null
+++ b/pcr/filesystem-nosystemd/locale.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+if [ -z "$LANG" ]; then
+ if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
+ . "$XDG_CONFIG_HOME/locale.conf"
+ elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then
+ . "$HOME/.config/locale.conf"
+ elif [ -r /etc/locale.conf ]; then
+ . /etc/locale.conf
+ fi
+fi
+
+LANG=${LANG:-C}
+export LANG
+[ -n "$LC_CTYPE" ] && export LC_CTYPE
+[ -n "$LC_NUMERIC" ] && export LC_NUMERIC
+[ -n "$LC_TIME" ] && export LC_TIME
+[ -n "$LC_COLLATE" ] && export LC_COLLATE
+[ -n "$LC_MONETARY" ] && export LC_MONETARY
+[ -n "$LC_MESSAGES" ] && export LC_MESSAGES
+[ -n "$LC_PAPER" ] && export LC_PAPER
+[ -n "$LC_NAME" ] && export LC_NAME
+[ -n "$LC_ADDRESS" ] && export LC_ADDRESS
+[ -n "$LC_TELEPHONE" ] && export LC_TELEPHONE
+[ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT
+[ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION
diff --git a/pcr/filesystem-nosystemd/motd b/pcr/filesystem-nosystemd/motd
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/pcr/filesystem-nosystemd/motd
diff --git a/pcr/filesystem-nosystemd/nsswitch.conf b/pcr/filesystem-nosystemd/nsswitch.conf
new file mode 100644
index 000000000..25125e13e
--- /dev/null
+++ b/pcr/filesystem-nosystemd/nsswitch.conf
@@ -0,0 +1,19 @@
+# Begin /etc/nsswitch.conf
+
+passwd: compat mymachines
+group: compat mymachines
+shadow: compat
+
+publickey: files
+
+hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
+netgroup: files
+
+# End /etc/nsswitch.conf
diff --git a/pcr/filesystem-nosystemd/os-release b/pcr/filesystem-nosystemd/os-release
new file mode 100644
index 000000000..768bfbc92
--- /dev/null
+++ b/pcr/filesystem-nosystemd/os-release
@@ -0,0 +1,9 @@
+NAME="Parabola"
+PRETTY_NAME="Parabola GNU/Linux-libre"
+ID=parabola
+ID_LIKE="arch archlinux"
+ANSI_COLOR="1;35"
+HOME_URL="https://www.parabola.nu/"
+SUPPORT_URL="irc://chat.freenode.net#parabola"
+BUG_REPORT_URL="https://labs.parabola.nu/"
+
diff --git a/pcr/filesystem-nosystemd/parabola.7.txt b/pcr/filesystem-nosystemd/parabola.7.txt
new file mode 100644
index 000000000..48b5d7f02
--- /dev/null
+++ b/pcr/filesystem-nosystemd/parabola.7.txt
@@ -0,0 +1,89 @@
+/////
+vim:set ts=4 sw=4 syntax=asciidoc noet:
+/////
+
+parabola(7)
+============
+
+NAME
+----
+parabola - basic configuration
+
+SYNOPSIS
+--------
+Overview of the basic configuration of Parabola GNU/Linux-libre.
+
+DESCRIPTION
+-----------
+Parabola exposes the user to the system without hiding any details.
+This man page gives a brief overview of the configuration files that should be set up on a fresh install.
+
+SYSTEM SERVICES[[S]]
+--------------------
+System services to be started at boot can be enabled using 'rc-update add <name> <runlevel>'.
+To view available services, use 'rc-status --all'.
+
+HOSTNAME[[H]]
+-------------
+The hostname of the machine can be set using 'hostnamectl set-hostname <hostname>'.
+It will then be written to /etc/hostname.
+
+LOCALIZATION[[L]]
+-----------------
+Various locales may be enabled in /etc/locale.gen and are generated by 'locale-gen'.
+The system-wide locale to be used can be configured in /etc/locale.conf.
+These settings can be overridden on a per-user basis by keeping a user-specific locale.conf in $HOME/.config/locale.conf.
+The user-specific file will take precedence if it exists.
+
+VIRTUAL CONSOLE[[V]]
+--------------------
+The virtual console is configured in /etc/conf.d/keymaps.
+It allows you to set a font and a keyboard layout, among other things.
+Note that these settings only apply to the console and do not apply if you use X.
+
+TIME[[T]]
+---------
+A relative *symlink* needs to be created from /etc/localtime to the correct zoneinfo file under /usr/share/zoneinfo/.
+
+ 'ln -s /etc/localtime /usr/share/zoneinfo/Europe/Paris'
+
+The real-time clock, which keeps track of time when the computer is off, can be configured to either
+be in UTC or in local time in /etc/conf.d/hwclock.
+The default is UTC.
+
+FILE SYSTEMS[[F]]
+-----------------
+File systems are configured in /etc/fstab, and encryption mappings are configured in /etc/crypttab.
+
+INITRAMFS[[R]]
+--------------
+The initramfs is generated by 'mkinitcpio -p <preset>'.
+The default preset is "linux-libre".
+The initramfs can be configured in /etc/mkinitcpio.conf and must be regenerated after making configuration changes.
+
+PACKAGE MANAGER[[P]]
+--------------------
+The package manager, pacman, is configured in /etc/pacman.conf.
+
+BOOT LOADER[[B]]
+----------------
+GRUB's configuration is generated from /etc/default/grub by 'grub-mkconfig -o /boot/grub/grub.cfg'.
+Syslinux is configured in /boot/syslinux/syslinux.cfg.
+
+MODULES[[M]]
+------------
+Most modules should be loaded on-demand.
+Modules to be unconditionally loaded at boot can be specified in /etc/modules-load.d/,
+and modules to be blacklisted from automatically loading can be configured in /etc/modprobe.d/.
+
+SEE ALSO
+--------
+
+*hostname*(5), *locale.conf*(5), *timezone*(3), *hwclock*(8),
+*fstab*(5), *crypttab*(5), *mkinitcpio*(8), *pacman*(8), *pacman.conf*(5),
+*grub-mkconfig*(8), *syslinux*(1), *modules-load.d*(5), *modprobe.d*(5)
+
+AUTHORS
+-------
+Written by Tom Gundersen.
+Rebranded for Parabola by Nicolás Reynolds and André Silva.
diff --git a/pcr/filesystem-nosystemd/passwd b/pcr/filesystem-nosystemd/passwd
new file mode 100644
index 000000000..59704dbef
--- /dev/null
+++ b/pcr/filesystem-nosystemd/passwd
@@ -0,0 +1,7 @@
+root:x:0:0:root:/root:/bin/bash
+bin:x:1:1:bin:/bin:/usr/bin/nologin
+daemon:x:2:2:daemon:/:/usr/bin/nologin
+mail:x:8:12:mail:/var/spool/mail:/usr/bin/nologin
+ftp:x:14:11:ftp:/srv/ftp:/usr/bin/nologin
+http:x:33:33:http:/srv/http:/usr/bin/nologin
+nobody:x:99:99:nobody:/:/usr/bin/nologin
diff --git a/pcr/filesystem-nosystemd/profile b/pcr/filesystem-nosystemd/profile
new file mode 100644
index 000000000..60c1821dd
--- /dev/null
+++ b/pcr/filesystem-nosystemd/profile
@@ -0,0 +1,27 @@
+# /etc/profile
+
+#Set our umask
+umask 022
+
+# Set our default path
+PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
+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 -z ${POSIXLY_CORRECT+x} && 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/pcr/filesystem-nosystemd/resolv.conf b/pcr/filesystem-nosystemd/resolv.conf
new file mode 100644
index 000000000..cecafba03
--- /dev/null
+++ b/pcr/filesystem-nosystemd/resolv.conf
@@ -0,0 +1,8 @@
+#
+# /etc/resolv.conf
+#
+
+#search <yourdomain.tld>
+#nameserver <ip>
+
+# End of file
diff --git a/pcr/filesystem-nosystemd/securetty b/pcr/filesystem-nosystemd/securetty
new file mode 100644
index 000000000..5a2235ce7
--- /dev/null
+++ b/pcr/filesystem-nosystemd/securetty
@@ -0,0 +1,15 @@
+#
+# /etc/securetty
+#
+
+console
+tty1
+tty2
+tty3
+tty4
+tty5
+tty6
+ttyS0
+hvc0
+
+# End of file
diff --git a/pcr/filesystem-nosystemd/shadow b/pcr/filesystem-nosystemd/shadow
new file mode 100644
index 000000000..ccab68d33
--- /dev/null
+++ b/pcr/filesystem-nosystemd/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/pcr/filesystem-nosystemd/shells b/pcr/filesystem-nosystemd/shells
new file mode 100644
index 000000000..18c1aeffa
--- /dev/null
+++ b/pcr/filesystem-nosystemd/shells
@@ -0,0 +1,8 @@
+#
+# /etc/shells
+#
+
+/bin/sh
+/bin/bash
+
+# End of file