# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ modules/generic_stage_target.py,
+ targets/livecd-stage2/livecd-stage2-controller.sh,
+ targets/support/livecdfs-update.sh:
+ Clean up firmware code in livecdfs-update.sh, add beginnings of new firmware
+ code in livecd-stage2-controller.sh, and fix output for USE in make.conf to
+ 80 columns. This is catalyst 2.0.6_pre5 for testing.
+
14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
modules/generic_stage_target.py:
Apparently, python doesn't like it when you put a set of comments in front
import pdb
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0.6_pre4"
+__version__="2.0.6_pre5"
conf_values={}
myusevars.extend(self.settings["use"])
if myusevars:
- myf.write("# These are the USE flags that were used in addition to what is provided by the profile.\n")
+ myf.write("# These are the USE flags that were used in addition to what is provided by the\nprofile used for building.\n")
myusevars = sorted(set(myusevars))
myf.write('USE="'+string.join(myusevars)+'"\n')
;;
clean)
find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
+ find ${clst_chroot_path}/usr/lib32 -iname "*.pyc" -exec rm -f {} \;
+ find ${clst_chroot_path}/usr/lib64 -iname "*.pyc" -exec rm -f {} \;
;;
bootloader)
shift
# Here is where we poke in our identifier
touch $1/livecd
-
+
+ # We create a firmware directory, if necessary
+ if [ -e ${clst_chroot_path}/lib/firmware.tar.bz2 ]
+ then
+ echo "Creating firmware directory in $1"
+ mkdir -p $1/firmware
+ # TODO: Unpack firmware into $1/firmware and remove it from the
+ # chroot so newer livecd-tools/genkernel can find it and unpack it.
+ fi
+
# Move over the readme (if applicable)
if [ -n "${clst_livecd_readme}" ]
then
then
cp -f ${clst_sharedir}/livecd/files/Getting_Online.txt $1
fi
-
+
${clst_sharedir}/targets/support/bootloader-setup.sh $1
;;
unmerge)
cd /lib/firmware
/bin/tar cjpf /lib/firmware.tar.bz2 .
rm -rf /lib/firmware/*
- mkdir -p /usr/lib/hotplug
- rm -rf /usr/lib/hotplug/firmware
- ln -sf /lib/firmware /usr/lib/hotplug/firmware
fi
# Clear out locales