Устранены сообщения об ошибке привода для дискет
This commit is contained in:
parent
b4b8014cf2
commit
0b6b761060
@ -17,6 +17,7 @@ mkdir root
|
||||
sudo tar xf out/acos-latest-x86_64.tar -C root/ --exclude=./dev/tty --exclude=./dev/tty0 --exclude=./dev/console --exclude=./dev/urandom --exclude=./dev/random --exclude=./dev/full --exclude=./dev/zero --exclude=/dev/null --exclude=./dev/pts/ptmx --exclude=./dev/null
|
||||
sudo chroot root/ systemctl enable ignition-firstboot-complete.service sshd
|
||||
sudo sed -i 's/^LABEL=ROOT\t/LABEL=boot\t/g' root/etc/fstab
|
||||
echo "blacklist floppy" | sudo tee root/etc/modprobe.d/blacklist-floppy.conf
|
||||
sudo mkdir root/sysroot
|
||||
sudo ln -s sysroot/ostree root/ostree
|
||||
sudo chroot root/ chown :wheel /usr/bin/sudo /bin/su
|
||||
@ -28,7 +29,7 @@ SHA=`sudo sha256sum "$KERNEL" | awk '{print $1;}'`
|
||||
sudo mv "$KERNEL" "$KERNEL-$SHA"
|
||||
sudo rm -f root/boot/vmlinuz
|
||||
sudo rm -f root/boot/initrd*
|
||||
sudo chroot root/ dracut --reproducible --gzip -v --add ignition --add ostree -f /boot/initramfs-$SHA --no-hostonly --omit=nfs --omit=lvm --omit=iscsi --kver `ls root/lib/modules`
|
||||
sudo chroot root/ dracut --reproducible --gzip -v --add ignition --add ostree -f /boot/initramfs-$SHA --no-hostonly --omit-drivers=floppy --omit=nfs --omit=lvm --omit=iscsi --kver `ls root/lib/modules`
|
||||
|
||||
sudo rm -rf root/usr/etc
|
||||
sudo mv root/etc root/usr/etc
|
||||
|
Loading…
Reference in New Issue
Block a user