[Lunar-commits] CVS: moonbase/kernel/linux-2.4-agr BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE,
1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1
Auke Kok
sofar at lunar-linux.org
Sun Dec 5 16:00:49 UTC 2004
- Previous message: [Lunar-commits] CVS: moonbase/kernel/linux-2.4 BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE,
1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1
- Next message: [Lunar-commits] CVS: moonbase/kernel/linux-2.4-vanilla BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE,
1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/lunar/moonbase/kernel/linux-2.4-agr
In directory espresso.foo-projects.org:/tmp/cvs-serv26648/linux-2.4-agr
Added Files:
BUILD CONFIGURE DEPENDS DETAILS POST_INSTALL PRE_BUILD
Log Message:
adding the final linux-2.4 v28 kernels with the r8.0 patchset (unchanged)
--- NEW FILE: BUILD ---
(
while
if [ "$CONFIG_KERNEL" == "y" ]; then
if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
make xconfig || make menuconfig || make config
elif [ "$PREFER_MENUCONFIG" == "y" ]; then
make menuconfig || make config
else
make config
fi
if ! query "Repeat configuration?" n; then
CONFIG_KERNEL=n
fi
else
false
fi
do
true
done
) && (
yes n | make oldconfig
LD_PRELOAD= cp .config $CONFIG_CACHE/.config
rm -f arch/i386/boot/bzImage
# Because parallel make seems not to work, a hack
optimize_make &&
KMAKES=${MAKES:=1} &&
make -j${KMAKES} dep &&
make -j${KMAKES} clean &&
make -j${KMAKES} bzImage &&
make -j${KMAKES} modules &&
backup_mods_krnl $VERSION-$PVERSION-agr &&
prepare_install &&
make modules_install &&
cp arch/i386/boot/bzImage /boot/$VERSION-$PVERSION-agr
) > $C_FIFO 2>&1
--- NEW FILE: CONFIGURE ---
mquery USE_GRUB "Configure this kernel to load from grub?" n
mquery USE_LILO "Configure this kernel to load from lilo?" n
mquery PREFER_XCONFIG "Do you prefer xconfig over menuconfig?" n
mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
unset_module_config CONFIG_KERNEL
mquery CONFIG_KERNEL "Configure linux kernel?" n
--- NEW FILE: DEPENDS ---
depends autoconf
--- NEW FILE: DETAILS ---
MODULE=linux-2.4-agr
VERSION=2.4.28
PVERSION=r8.0
SOURCE=linux-$VERSION.tar.bz2
SOURCE2=ll-${PVERSION}.tar.bz2
SOURCE_DIRECTORY=/usr/src/linux-$VERSION-agr
SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.4/
SOURCE_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.4/
SOURCE2_URL=$PATCH_URL/
SOURCE_VFY=sha1:52504e175b57c0d2f409f468d93e6346962b3312
SOURCE2_VFY=sha1:682895d01402afb4aa624409c40598c056707c47
WEBSITE=http://www.kernel.org/
ENTERED=20030227
UPDATED=20041201
SHORT="The Linux kernel with the lunar patch set"
KEEP_SOURCE="on"
cat << EOF
This is the Linux kernel with the Lunar Linux kernel patch set.
Features are enabled or disabled by the standard kernel configuration tools,
i.e. "make menuconfig" or "make config" or "make xconfig".
For patch information please see the patch-list.txt file in the patchset.
EOF
--- NEW FILE: POST_INSTALL ---
if [ "$USE_LILO" == "y" ]; then
update_lilo $VERSION-$PVERSION-agr $VERSION-agr
fi
if [ "$USE_GRUB" == "y" ]; then
update_grub $VERSION-$PVERSION-agr $VERSION-agr
fi
# Reinstall packages that add their own kernel modules
if module_installed ftpfs; then lin ftpfs; fi
if module_installed cvsfs; then lin cvsfs; fi
if module_installed NVIDIA; then lin NVIDIA; fi
if module_installed alsa-driver; then lin alsa-driver; fi
if module_installed iptables; then lin iptables; fi
if module_installed cryptoapi; then lin cryptoapi; fi
if module_installed pcmcia-cs; then lin pcmcia-cs; fi
if module_installed mwavem; then lin mwavem; fi
if module_installed cipe; then lin cipe; fi
if module_installed snare-core; then lin snare-core; fi
if module_installed ltmodem; then lin ltmodem; fi
if module_installed bluez-kernel; then lin bluez-kernel; fi
if module_installed nforce; then lin nforce; fi
if module_installed openafs-driver; then lin openafs-driver; fi
if module_installed hostap-driver; then lin hostap-driver; fi
--- NEW FILE: PRE_BUILD ---
# Bail if we're not running a core with kernel fuctions
if [ ! -e $FUNCTIONS/kernel.lunar ] ; then
message "${PROBLEM_COLOR}Bailing out, ${DEFAULT_COLOR}Lunar (or theedge) code version too old"
message "${PROBLEM_COLOR}Update core ${MODULE_COLOR}(lin lunar or lin theedge)${DEFAULT_COLOR} to install this kernel"
exit 1
fi
if [ -e /usr/src/linux -a ! -h /usr/src/linux ]; then
message "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} /usr/src/linux must be a symbolic link"
exit 1
fi
mk_source_dir $SOURCE_DIRECTORY
rm -f /usr/src/linux
ln -s $SOURCE_DIRECTORY /usr/src/linux
cd $SOURCE_DIRECTORY
tar jxf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-path=1
if [ -f $CONFIG_CACHE/.config ]; then
cp $CONFIG_CACHE/.config .config
fi
mkdir patches
( cd patches && unpack $SOURCE2 )
for pat in patches/fix/* patches/main/* patches/aggressive/*; do
patch_it $pat 1
done
rm -rf patches
true
- Previous message: [Lunar-commits] CVS: moonbase/kernel/linux-2.4 BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE,
1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1
- Next message: [Lunar-commits] CVS: moonbase/kernel/linux-2.4-vanilla BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE,
1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Lunar-commits
mailing list