From 086112c734c9b6018855be83798bcdaf61505c14 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 15 Jun 2018 00:03:49 +0000 Subject: Fri Jun 15 00:03:49 UTC 2018 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. --- source/a/mkinitrd/_initrd-tree/dev/mknodes.sh | 18 +++++++++ source/a/mkinitrd/_initrd-tree/etc/fstab | 2 + source/a/mkinitrd/_initrd-tree/etc/group | 44 ++++++++++++++++++++++ source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf | 42 +++++++++++++++++++++ source/a/mkinitrd/_initrd-tree/etc/passwd | 25 ++++++++++++ source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf | 14 +++++++ source/a/mkinitrd/_initrd-tree/init | 0 source/a/mkinitrd/_initrd-tree/initrd-name | 0 source/a/mkinitrd/_initrd-tree/keymap | 0 source/a/mkinitrd/_initrd-tree/load_kernel_modules | 8 ++++ source/a/mkinitrd/_initrd-tree/luksdev | 0 source/a/mkinitrd/_initrd-tree/lukskey | 0 source/a/mkinitrd/_initrd-tree/resumedev | 0 source/a/mkinitrd/_initrd-tree/rootdev | 0 source/a/mkinitrd/_initrd-tree/rootfs | 0 source/a/mkinitrd/_initrd-tree/sbin/mdadm | 7 ++++ source/a/mkinitrd/_initrd-tree/wait-for-root | 1 + 17 files changed, 161 insertions(+) create mode 100755 source/a/mkinitrd/_initrd-tree/dev/mknodes.sh create mode 100644 source/a/mkinitrd/_initrd-tree/etc/fstab create mode 100644 source/a/mkinitrd/_initrd-tree/etc/group create mode 100644 source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf create mode 100644 source/a/mkinitrd/_initrd-tree/etc/passwd create mode 100644 source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf create mode 100755 source/a/mkinitrd/_initrd-tree/init create mode 100644 source/a/mkinitrd/_initrd-tree/initrd-name create mode 100644 source/a/mkinitrd/_initrd-tree/keymap create mode 100644 source/a/mkinitrd/_initrd-tree/load_kernel_modules create mode 100644 source/a/mkinitrd/_initrd-tree/luksdev create mode 100644 source/a/mkinitrd/_initrd-tree/lukskey create mode 100644 source/a/mkinitrd/_initrd-tree/resumedev create mode 100644 source/a/mkinitrd/_initrd-tree/rootdev create mode 100644 source/a/mkinitrd/_initrd-tree/rootfs create mode 100755 source/a/mkinitrd/_initrd-tree/sbin/mdadm create mode 100644 source/a/mkinitrd/_initrd-tree/wait-for-root (limited to 'source/a/mkinitrd/_initrd-tree') 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 00000000..4370db37 --- /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 00000000..90933aa6 --- /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 00000000..c7c87313 --- /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 00000000..3d993afc --- /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 00000000..c8f6a72f --- /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 00000000..b0421a08 --- /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= +udev_log="err" + diff --git a/source/a/mkinitrd/_initrd-tree/init b/source/a/mkinitrd/_initrd-tree/init new file mode 100755 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/initrd-name b/source/a/mkinitrd/_initrd-tree/initrd-name new file mode 100644 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/keymap b/source/a/mkinitrd/_initrd-tree/keymap new file mode 100644 index 00000000..e69de29b 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 00000000..f5e8d31a --- /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 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/lukskey b/source/a/mkinitrd/_initrd-tree/lukskey new file mode 100644 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/resumedev b/source/a/mkinitrd/_initrd-tree/resumedev new file mode 100644 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/rootdev b/source/a/mkinitrd/_initrd-tree/rootdev new file mode 100644 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/rootfs b/source/a/mkinitrd/_initrd-tree/rootfs new file mode 100644 index 00000000..e69de29b diff --git a/source/a/mkinitrd/_initrd-tree/sbin/mdadm b/source/a/mkinitrd/_initrd-tree/sbin/mdadm new file mode 100755 index 00000000..9a9ef983 --- /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 00000000..d00491fd --- /dev/null +++ b/source/a/mkinitrd/_initrd-tree/wait-for-root @@ -0,0 +1 @@ +1 -- cgit v1.2.3