mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 18:55:32 +03:00
1a0c05b849
We no longer require any user intervention when testing dracut on a local block device in qemu, assuming everything passes. If things fail, we still might need to manually kill things.
11 lines
273 B
Bash
Executable File
11 lines
273 B
Bash
Executable File
#!/bin/sh
|
|
exec >/dev/console 2>&1
|
|
echo "dracut-root-block-success" >/dev/sda1
|
|
export TERM=linux
|
|
export PS1='initramfs-test:\w\$ '
|
|
[ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
|
|
stty sane
|
|
echo "made it to the rootfs! Powering down."
|
|
mount -n -o remount,ro /
|
|
poweroff -f
|