mkimage-profiles/features.in/mipsel-bfk3/rootfs/image-scripts.d/15-fstab
Anton Midyukov 439fe29841 build-vm, mipsel-{bfk3,mitx}: Execute fstab scripts before 17-kernel
This is necessary for the 'rootfs' initrd feature to work properly
2021-02-14 23:22:56 +07:00

6 lines
134 B
Bash
Executable File

#!/bin/sh -efu
sed '/[[:space:]]\/[[:space:]]/d' /etc/fstab
printf "/dev/sda1\t/\t$GLOBAL_VM_FSTYPE\tdefaults\t1 1\n" >> /etc/fstab