Unslung: slingbox: added built-in fdisk support, but without the /bin/fdisk link
authorMike Westerhof <mwester@dls.net>
Mon, 31 Jul 2006 05:10:36 +0000 (05:10 +0000)
committerMike Westerhof <mwester@dls.net>
Mon, 31 Jul 2006 05:10:36 +0000 (05:10 +0000)
so as not to overwrite the Linksys fdisk utility.

packages/busybox/slingbox-1.1.3/defconfig
packages/busybox/slingbox_1.1.3.bb

index c297988..8729e24 100644 (file)
@@ -352,7 +352,7 @@ CONFIG_FEATURE_GREP_FGREP_ALIAS=y
 # CONFIG_FEATURE_FBSET_READMODE is not set
 # CONFIG_FDFLUSH is not set
 # CONFIG_FDFORMAT is not set
-# CONFIG_FDISK is not set
+CONFIG_FDISK=y
 FDISK_SUPPORT_LARGE_DISKS=y
 # CONFIG_FEATURE_FDISK_WRITABLE is not set
 # CONFIG_FEATURE_AIX_LABEL is not set
index 5fc31de..8cd85ce 100644 (file)
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
            file://defconfig \
@@ -40,6 +40,8 @@ do_configure () {
 do_compile () {
        unset CFLAGS
        base_do_compile
+       # Just in case fdisk is compiled in, do not overwrite the Linksys one
+       sed -i -e '/fdisk/d' ${S}/busybox.links
 }
 
 do_install () {