From 4f3adf1673bee62d5594ea58cdfec4c639bc33d7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 Jan 2010 02:28:51 +0100 Subject: [PATCH] busybox-initramfs: build the getopt utility, bumprev. --HG-- extra : convert_revision : a8c16ce089f1acbb5f109f2414139f0d7ab72815 --- srcpkgs/busybox-initramfs/files/dotconfig | 4 ++-- srcpkgs/busybox-initramfs/template | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/busybox-initramfs/files/dotconfig b/srcpkgs/busybox-initramfs/files/dotconfig index eccda9449a..d4f9fa5a23 100644 --- a/srcpkgs/busybox-initramfs/files/dotconfig +++ b/srcpkgs/busybox-initramfs/files/dotconfig @@ -487,8 +487,8 @@ CONFIG_FDISK_SUPPORT_LARGE_DISKS=y # CONFIG_MKFS_MINIX is not set # CONFIG_FEATURE_MINIX2 is not set # CONFIG_MKFS_VFAT is not set -# CONFIG_GETOPT is not set -# CONFIG_FEATURE_GETOPT_LONG is not set +CONFIG_GETOPT=y +CONFIG_FEATURE_GETOPT_LONG=y CONFIG_HEXDUMP=y # CONFIG_FEATURE_HEXDUMP_REVERSE is not set # CONFIG_HD is not set diff --git a/srcpkgs/busybox-initramfs/template b/srcpkgs/busybox-initramfs/template index c31d9e437d..de66bfaed0 100644 --- a/srcpkgs/busybox-initramfs/template +++ b/srcpkgs/busybox-initramfs/template @@ -1,6 +1,7 @@ # Build template for 'busybox-initramfs'. pkgname=busybox-initramfs version=1.15.3 +revision=1 wrksrc=busybox-$version distfiles="http://www.busybox.net/downloads/busybox-$version.tar.bz2" build_style=gnu_makefile @@ -21,7 +22,7 @@ long_desc=" This package provides some required utilities for the initial ramdisks." base_chroot=yes -Add_dependency full glibc +Add_dependency run glibc pre_build() {