From 65a23ba05533d69b5ed2831b02c823b3c3ff06af Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 15 Aug 2010 11:58:12 +0200 Subject: fixed some races around losetup; enable fsck/mkfs.ext2 and fdisk in busybox --- Makefile | 1 + busybox-config | 6 +++--- 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 -- cgit v1.2.3-54-g00ecf