CVS: moonbase/libs/glibc POST_INSTALL,NONE,1.1 BUILD,1.19,1.20
elaine at lunar-linux.org
elaine at lunar-linux.org
Thu Oct 9 16:35:14 GMT 2003
Update of /var/cvs/lunar/moonbase/libs/glibc
In directory dbguin.lunar-linux.org:/tmp/cvs-serv9369
Modified Files:
BUILD
Added Files:
POST_INSTALL
Log Message:
Adjusted kernel BUILD to create kernel headers tarballs in source cache
Added POST_INSTALL to install 'kernel-headers' module
--- NEW FILE: POST_INSTALL ---
# Install the kernel headers which we created in BUILD
mv /var/lock/installing.glibc /var/lock/installing.$$
lin -c kernel-headers
mv /var/lock/installing.$$ /var/lock/installing.glibc
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/glibc/BUILD,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- BUILD 13 Sep 2003 15:33:55 -0000 1.19
+++ BUILD 9 Oct 2003 16:35:12 -0000 1.20
@@ -104,6 +104,15 @@
# And now we install the new
make install &&
+ # Make kernel header files for kernel-headers module
+
+ cd /usr/src/linux/include &&
+ HDRS_VER="$(uname -s)-$(uname -r | sed 's/[-a-z].*//')-$(uname -m | sed 's/[456]/3/')" &&
+ tar -cjf /var/spool/lunar/kernel-headers-"$HDRS_VER".tar.bz2 linux &&
+ tar -cjf /var/spool/lunar/asm-headers-"$HDRS_VER".tar.bz2 asm/* &&
+
+ cd $INSTALL_ROOT
+
# Now optionally perform debug symbol stripping only
if [ "$STRIP" == "y" ] ; then
for FN in ld-2.3.2.so libanl-2.3.2.so libBrokenLocale-2.3.2.so libc-2.3.2.so \
More information about the Lunar-commits
mailing list