summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-08-15 11:58:12 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-08-15 11:58:12 +0200
commit65a23ba05533d69b5ed2831b02c823b3c3ff06af (patch)
treee6ce3b098c4cb6130d525cfeee231169b4ddf693
parentf2ea14ab6683b73366b96c8aee7382c47e33bdef (diff)
downloadminilinux-65a23ba05533d69b5ed2831b02c823b3c3ff06af.tar.gz
minilinux-65a23ba05533d69b5ed2831b02c823b3c3ff06af.tar.bz2
fixed some races around losetup; enable fsck/mkfs.ext2 and fdisk in busybox
-rw-r--r--Makefile1
-rw-r--r--busybox-config6
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e6e7b43..799c268 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,7 @@ syslinux:
syslinux-loader:
/sbin/losetup /dev/loop1 minilinux.img
cat syslinux-3.86/mbr/mbr.bin > /dev/loop1
+ sync && sleep 1
/sbin/losetup -d /dev/loop1
syslinux-clean:
diff --git a/busybox-config b/busybox-config
index 8324fbd..e7914f5 100644
--- a/busybox-config
+++ b/busybox-config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.17.1
-# Sun Aug 15 10:54:28 2010
+# Sun Aug 15 11:43:46 2010
#
CONFIG_HAVE_DOT_CONFIG=y
@@ -462,7 +462,7 @@ CONFIG_SULOGIN=y
# Linux Ext2 FS Progs
#
# CONFIG_CHATTR is not set
-# CONFIG_FSCK is not set
+CONFIG_FSCK=y
# CONFIG_LSATTR is not set
# CONFIG_TUNE2FS is not set
@@ -523,7 +523,7 @@ CONFIG_FEATURE_FDISK_ADVANCED=y
CONFIG_FLOCK=y
# CONFIG_FREERAMDISK is not set
# CONFIG_FSCK_MINIX is not set
-# CONFIG_MKFS_EXT2 is not set
+CONFIG_MKFS_EXT2=y
# CONFIG_MKFS_MINIX is not set
# CONFIG_FEATURE_MINIX2 is not set
# CONFIG_MKFS_REISER is not set