|
From: Serge L. <sma...@us...> - 2009-05-29 05:38:57
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23938/scripts Modified Files: grub Added Files: paxctl Log Message: - added paxctl to build system - partially disabled PaX features for grub binary --- NEW FILE: paxctl --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/paxctl,v $ # $Revision: 1.1 $ # $Date: 2009/05/29 05:36:12 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: paxctl # Required-Start: $basebuildtools # Required-Stop: # Default-Start: 1 # Default-Stop: # Description: PaX control tool ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) make || exit 1 strip_debug make install || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: grub =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/grub,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- grub 26 Dec 2007 17:23:31 -0000 1.15 +++ grub 29 May 2009 05:36:12 -0000 1.16 @@ -53,6 +53,7 @@ rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR || exit 1 make install DESTDIR=$TMPDIR || exit 1 + paxctl -x -e -p -r -s $TMPDIR/sbin/grub || exit 1 copy_docs $TMPDIR mkdir -p $CDDIR/sbin cp -dpvR $TMPDIR/sbin/* $CDDIR/sbin/ || exit 1 |