Skip to content

Commit

Permalink
Merge pull request #40 from diederikdehaas/fix-fstab
Browse files Browse the repository at this point in the history
Fix fstab & co
  • Loading branch information
hifi committed Apr 11, 2014
2 parents d1c24ce + 7a21bfe commit 3d2a064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bootfs/
packages/
installer.cpio.gz
installer.cpio*
raspbian-ua-netinst-*.zip
raspbian-ua-netinst-*.img.xz
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ The format of the file and the current defaults:
mirror=http://mirrordirector.raspbian.org/raspbian/
release=wheezy
hostname=pi
domainname=
rootpw=raspbian
cdebootstrap_cmdline=
bootsize=+50M # /boot partition size as given to fdisk
Expand Down
4 changes: 2 additions & 2 deletions scripts/etc/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ echo -n "Configuring installed system... "
echo -n root:$rootpw | chroot /rootfs /usr/sbin/chpasswd || fail

# default mounts
echo "$bootpartition /boot vfat defaults 0 0" > /rootfs/etc/fstab || fail
echo "$rootpartition / $rootfstype $rootfs_mount_options 0 0" >> /rootfs/etc/fstab || fail
echo "$bootpartition /boot vfat defaults 0 2" > /rootfs/etc/fstab || fail
echo "$rootpartition / $rootfstype $rootfs_mount_options 0 1" >> /rootfs/etc/fstab || fail

# use ram tmpfs by default
echo "RAMTMP=yes" >> /rootfs/etc/default/tmpfs
Expand Down

0 comments on commit 3d2a064

Please sign in to comment.