mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
add base initscripts to initramfs image
This commit is contained in:
parent
46bb69221a
commit
6eae0b51c0
@ -43,7 +43,8 @@ image_patch () {
|
||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||
# create /etc/fstab
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
|
||||
/dev/mmcblk0p1 /boot auto defaults,sync,noauto 0 0
|
||||
/dev/mmcblk0p1 /boot auto defaults 0 0
|
||||
|
||||
EOF
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/hostname
|
||||
diya-recovery
|
||||
|
@ -57,9 +57,6 @@ fatal() {
|
||||
# Variables shared amoung modules
|
||||
EFI_DIR=/sys/firmware/efi # place to store device firmware information
|
||||
|
||||
# make mount stop complaining about missing /etc/fstab
|
||||
touch /etc/fstab
|
||||
|
||||
# initialize /proc, /sys, /run/lock and /var/lock
|
||||
mkdir -p /proc /sys /run/lock /var/lock /var/run
|
||||
mount -t proc proc /proc
|
||||
|
Loading…
Reference in New Issue
Block a user