Skip to content

Commit a4afb3b

Browse files
committed
Revert back manual fstab configuration
1 parent c951eff commit a4afb3b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package/root/etc/fstab

Lines changed: 0 additions & 3 deletions
This file was deleted.

simpleimage/make_rootfs.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,11 @@ mkdir -p "$DEST/lib"
355355
mkdir -p "$DEST/usr"
356356

357357
# Create fstab
358-
cp -a ./configuration-files/fstab "$DEST/etc/fstab"
359-
chown root.root "$DEST/etc/fstab"
358+
cat <<EOF > "$DEST/etc/fstab"
359+
# <file system> <dir> <type> <options> <dump> <pass>
360+
/dev/mmcblk0p1 /boot vfat defaults 0 2
361+
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
362+
EOF
360363

361364
# Direct Kernel install
362365
if [ -n "$LINUX" -a "$LINUX" != "-" -a -d "$LINUX" ]; then

0 commit comments

Comments
 (0)