summaryrefslogtreecommitdiffstats
path: root/source/a/mkinitrd/_initrd-tree
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-06-15 00:03:49 +0000
committer Eric Hameleers <alien@slackware.com>2018-06-15 09:00:28 +0200
commit086112c734c9b6018855be83798bcdaf61505c14 (patch)
tree216ed35cf5359876953ca387954ef58607a436ca /source/a/mkinitrd/_initrd-tree
parent11b00957be9f8661c4248d52bb20cdacdd442615 (diff)
downloadcurrent-086112c734c9b6018855be83798bcdaf61505c14.tar.gz
current-086112c734c9b6018855be83798bcdaf61505c14.tar.xz
Fri Jun 15 00:03:49 UTC 201820180615000349
a/dcron-4.5-x86_64-8.txz: Rebuilt. rc.crond: match the running process more accurately. a/glibc-zoneinfo-2018e-noarch-3.txz: Rebuilt. Don't emit an error if the /etc/localtime-copied-from is not present when the package is initially installed. a/libcgroup-0.41-x86_64-5.txz: Rebuilt. Added /etc/cgconfig.d/ directory. a/pkgtools-15.0-noarch-19.txz: Rebuilt. installpkg, makebootdisk, removepkg, upgradepkg: don't try to remove admin directories (supposedly "in case" they are a symlink). a/sysvinit-scripts-2.1-noarch-12.txz: Rebuilt. rc.6: stop haveged rc.S: start rc.cgconfig and rc.cgred ap/at-3.1.20-x86_64-5.txz: Rebuilt. rc.atd: match the running process more accurately. ap/slackpkg-2.83.0-noarch-2.txz: Rebuilt. Patched to handle the case where /var/log/packages is a symlink. l/gsl-2.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/mkinitrd/_initrd-tree')
-rwxr-xr-xsource/a/mkinitrd/_initrd-tree/dev/mknodes.sh18
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/fstab2
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/group44
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf42
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/passwd25
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf14
-rwxr-xr-xsource/a/mkinitrd/_initrd-tree/init0
-rw-r--r--source/a/mkinitrd/_initrd-tree/initrd-name0
-rw-r--r--source/a/mkinitrd/_initrd-tree/keymap0
-rw-r--r--source/a/mkinitrd/_initrd-tree/load_kernel_modules8
-rw-r--r--source/a/mkinitrd/_initrd-tree/luksdev0
-rw-r--r--source/a/mkinitrd/_initrd-tree/lukskey0
-rw-r--r--source/a/mkinitrd/_initrd-tree/resumedev0
-rw-r--r--source/a/mkinitrd/_initrd-tree/rootdev0
-rw-r--r--source/a/mkinitrd/_initrd-tree/rootfs0
-rwxr-xr-xsource/a/mkinitrd/_initrd-tree/sbin/mdadm7
-rw-r--r--source/a/mkinitrd/_initrd-tree/wait-for-root1
17 files changed, 161 insertions, 0 deletions
diff --git a/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh
new file mode 100755
index 000000000..4370db374
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh
@@ -0,0 +1,18 @@
+# Run this script in the root of the skeleton tree
+# to re-create the required device nodes
+mkdir -p dev
+mknod -m 644 dev/systty c 4 0
+mkdir -p dev
+mknod -m 644 dev/tty1 c 4 1
+mkdir -p dev
+mknod -m 644 dev/ram b 1 1
+mkdir -p dev
+mknod -m 644 dev/tty2 c 4 1
+mkdir -p dev
+mknod -m 644 dev/tty3 c 4 1
+mkdir -p dev
+mknod -m 644 dev/null c 1 3
+mkdir -p dev
+mknod -m 644 dev/tty4 c 4 1
+mkdir -p dev
+mknod -m 644 dev/console c 5 1
diff --git a/source/a/mkinitrd/_initrd-tree/etc/fstab b/source/a/mkinitrd/_initrd-tree/etc/fstab
new file mode 100644
index 000000000..90933aa66
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/fstab
@@ -0,0 +1,2 @@
+proc /proc proc defaults 0 0
+
diff --git a/source/a/mkinitrd/_initrd-tree/etc/group b/source/a/mkinitrd/_initrd-tree/etc/group
new file mode 100644
index 000000000..c7c873138
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/group
@@ -0,0 +1,44 @@
+root:x:0:root
+bin:x:1:root,bin
+daemon:x:2:root,bin,daemon
+sys:x:3:root,bin,adm
+adm:x:4:root,adm,daemon
+tty:x:5:
+disk:x:6:root,adm
+lp:x:7:lp
+mem:x:8:
+kmem:x:9:
+wheel:x:10:root
+floppy:x:11:root
+mail:x:12:mail
+news:x:13:news
+uucp:x:14:uucp
+man:x:15:
+dialout:x:16:uucp
+audio:x:17:root
+video:x:18:root
+cdrom:x:19:root
+games:x:20:
+slocate:x:21:
+utmp:x:22:
+smmsp:x:25:smmsp
+tape:x:26:root
+mysql:x:27:
+rpc:x:32:
+sshd:x:33:sshd
+gdm:x:42:
+shadow:x:43:
+ftp:x:50:
+oprofile:x:51:
+apache:x:80:
+messagebus:x:81:
+haldaemon:x:82:
+plugdev:x:83:root
+power:x:84:root
+netdev:x:86:root
+pop:x:90:pop
+scanner:x:93:root
+nobody:x:98:nobody
+nogroup:x:99:
+users:x:100:
+console:x:101:
diff --git a/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf b/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf
new file mode 100644
index 000000000..3d993afcb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf
@@ -0,0 +1,42 @@
+#
+# /etc/nsswitch.conf
+#
+# An example Name Service Switch config file. This file should be
+# sorted with the most-used services at the beginning.
+#
+# The entry '[NOTFOUND=return]' means that the search for an
+# entry should stop if the search in the previous entry turned
+# up nothing. Note that if the search failed due to some other reason
+# (like no NIS server responding) then the search continues with the
+# next entry.
+#
+# Legal entries are:
+#
+# nisplus or nis+ Use NIS+ (NIS version 3)
+# nis or yp Use NIS (NIS version 2), also called YP
+# dns Use DNS (Domain Name Service)
+# files Use the local files
+# [NOTFOUND=return] Stop searching if not found so far
+#
+
+# passwd: files nis
+# shadow: files nis
+# group: files nis
+
+passwd: compat
+group: compat
+
+hosts: files dns
+networks: files
+
+services: files
+protocols: files
+rpc: files
+ethers: files
+netmasks: files
+netgroup: files
+bootparams: files
+
+automount: files
+aliases: files
+
diff --git a/source/a/mkinitrd/_initrd-tree/etc/passwd b/source/a/mkinitrd/_initrd-tree/etc/passwd
new file mode 100644
index 000000000..c8f6a72fa
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/passwd
@@ -0,0 +1,25 @@
+root:x:0:0::/root:/bin/bash
+bin:x:1:1:bin:/bin:/bin/false
+daemon:x:2:2:daemon:/sbin:/bin/false
+adm:x:3:4:adm:/var/log:/bin/false
+lp:x:4:7:lp:/var/spool/lpd:/bin/false
+sync:x:5:0:sync:/sbin:/bin/sync
+shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
+halt:x:7:0:halt:/sbin:/sbin/halt
+mail:x:8:12:mail:/:/bin/false
+news:x:9:13:news:/usr/lib/news:/bin/false
+uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false
+operator:x:11:0:operator:/root:/bin/bash
+games:x:12:100:games:/usr/games:/bin/false
+ftp:x:14:50::/home/ftp:/bin/false
+smmsp:x:25:25:smmsp:/var/spool/clientmqueue:/bin/false
+mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false
+rpc:x:32:32:RPC portmap user:/:/bin/false
+sshd:x:33:33:sshd:/:/bin/false
+gdm:x:42:42:GDM:/var/state/gdm:/bin/bash
+oprofile:x:51:51:oprofile:/:/bin/false
+apache:x:80:80:User for Apache:/srv/httpd:/bin/false
+messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false
+haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
+pop:x:90:90:POP:/:/bin/false
+nobody:x:99:99:nobody:/:/bin/false
diff --git a/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf b/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf
new file mode 100644
index 000000000..b0421a08b
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf
@@ -0,0 +1,14 @@
+# udev.conf
+# The main config file for udev
+#
+# This file can be used to override some of udev's default values for where it
+# looks for files, and where it places device nodes.
+
+# udev_root - where in the filesystem to place the device nodes
+udev_root="/dev/"
+
+# udev_log - The initial syslog(3) priority: "err", "info", "debug" or
+# its numerical equivalent. For runtime debugging, the daemons
+# internal state can be changed with: udevcontrol log_priority=<value>
+udev_log="err"
+
diff --git a/source/a/mkinitrd/_initrd-tree/init b/source/a/mkinitrd/_initrd-tree/init
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/init
diff --git a/source/a/mkinitrd/_initrd-tree/initrd-name b/source/a/mkinitrd/_initrd-tree/initrd-name
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/initrd-name
diff --git a/source/a/mkinitrd/_initrd-tree/keymap b/source/a/mkinitrd/_initrd-tree/keymap
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/keymap
diff --git a/source/a/mkinitrd/_initrd-tree/load_kernel_modules b/source/a/mkinitrd/_initrd-tree/load_kernel_modules
new file mode 100644
index 000000000..f5e8d31a8
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/load_kernel_modules
@@ -0,0 +1,8 @@
+# This is a script used to load the kernel modules.
+# To use it, chmod it 755, and then add the modprobe
+# lines needed to load your modules, like this:
+#modprobe reiserfs
+# or:
+#modprobe jbd
+#modprobe ext3
+
diff --git a/source/a/mkinitrd/_initrd-tree/luksdev b/source/a/mkinitrd/_initrd-tree/luksdev
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/luksdev
diff --git a/source/a/mkinitrd/_initrd-tree/lukskey b/source/a/mkinitrd/_initrd-tree/lukskey
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/lukskey
diff --git a/source/a/mkinitrd/_initrd-tree/resumedev b/source/a/mkinitrd/_initrd-tree/resumedev
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/resumedev
diff --git a/source/a/mkinitrd/_initrd-tree/rootdev b/source/a/mkinitrd/_initrd-tree/rootdev
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/rootdev
diff --git a/source/a/mkinitrd/_initrd-tree/rootfs b/source/a/mkinitrd/_initrd-tree/rootfs
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/rootfs
diff --git a/source/a/mkinitrd/_initrd-tree/sbin/mdadm b/source/a/mkinitrd/_initrd-tree/sbin/mdadm
new file mode 100755
index 000000000..9a9ef9833
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/sbin/mdadm
@@ -0,0 +1,7 @@
+#!/bin/ash
+# Null script, used to prevent error message spew in cases where the system
+# has RAID volumes, but the real mdadm is not included on the initrd because
+# the root partition is not RAID.
+#
+# If RAID support is desired on the initrd, please rebuild it using the -R
+# option and this script will be replaced with the actual mdadm binary.
diff --git a/source/a/mkinitrd/_initrd-tree/wait-for-root b/source/a/mkinitrd/_initrd-tree/wait-for-root
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/wait-for-root
@@ -0,0 +1 @@
+1