Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=c36e059f29c443155f3afab662bb08f1610f39ea

commit c36e059f29c443155f3afab662bb08f1610f39ea
Author: Elentir <elen...@mailoo.org>
Date:   Mon Feb 8 20:15:59 2010 +0100

add coreutils package for gui image

diff --git a/Makefile b/Makefile
index 10cbc4e..228c1d3 100644
--- a/Makefile
+++ b/Makefile
@@ -700,4 +700,10 @@ ralink-firmware:
$(UNPACK); \
cp -a lib ../ralink-firmware/

+coreutils:
+       $(CLEANUP)
+       mkdir -p coreutils/bin
+       $(UNPACK)
+       cp -a $(BDIR)/bin/nice coreutils/bin/
+
.NOTPARALLEL:
diff --git a/configure b/configure
index b37c32b..8f31902 100755
--- a/configure
+++ b/configure
@@ -40,6 +40,10 @@ parser.add_option("--prefix", action="store", dest="prefix", 
help="Select the in
parser.add_option("--enable-gui", action="store_true", dest="gui", help="Build 
Fwife installer image")
(options, args) = parser.parse_args()

+# if we want the gui image, add appropriate package and remove useless ones
+if options.gui:
+       packages.extend(['coreutils'])
+
# if we want debug then we should add gdb and it's dependencies
sys.stdout.write("checking for debug support... ")
sys.stdout.flush()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to