Skip to content

Commit 3c41aaa

Browse files
author
dslm4515
committed
Don't use mkinitramfs script.
mkinitramfs was copied for LFS, assuming libc is glibc and not musl. There is a seperate build instruction in this repo that builds an initramfs
1 parent 9c2b933 commit 3c41aaa

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

4-Final_System/096-Bootscripts

-12
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,3 @@ chown -v utmp:utmp /run/utmps
4848
mv -v /var/log/wtmp /run/utmps/
4949
ln -sv /run/utmps /var/log/utmps
5050

51-
# Bootscripts do not require system boot with a initramfs image.
52-
# But kernel parameters should boot with root filesystem as
53-
# read-only for checking root filesystem at boot (i.e. linux root=/dev/sda2 ro
54-
# To use the iniramfs build script, Copy the script to /sbin:
55-
install -v -m755 mkinitrd/mkinitramfs /sbin/
56-
57-
# Copy the configuration:
58-
mkdir -p /usr/share/mkinitramfs
59-
install -v -m644 mkinitrd/init.in /usr/share/mkinitramfs/
60-
61-
# To use, use the running kernel version:
62-
mkinitramfs $(uname -r)

0 commit comments

Comments
 (0)