mipsel-mitx: add root and boot partitions to /etc/fstab
This commit is contained in:
parent
d5ae97e95f
commit
429f1d182c
7
features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab
Executable file
7
features.in/mipsel-mitx/rootfs/image-scripts.d/40-fstab
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh -efu
|
||||
|
||||
# remove rootfs entry
|
||||
sed -i '/rootfs/d' /etc/fstab
|
||||
|
||||
echo "/dev/sda6 / ext4 relatime 1 1" >> /etc/fstab
|
||||
echo "/dev/sda1 /boot ext4 defaults 1 2" >> /etc/fstab
|
Loading…
Reference in New Issue
Block a user