Automatic manteniment of patches

M.Canales.es manuel at linuxfromscratch.org
Mon May 31 14:03:58 PDT 2004


Hi!

The new patcheslist.xsl stylesheet allow a full automatic manteniment of patches 
for {B}LFS-{version, branch} books. It create now a customizable shell script 
like this:

#! /bin/bash

  cd /home/httpd/www.linuxfromscratch.org/patches/lfs/cvs/unstable/ &&

  rm -f *.patch &&

  ln -s ../../../dowloads/bash/bash-2.05b-gnu-fixes-2.patch &&
  ln -s ../../../dowloads/coreutils/coreutils-5.2.1-dupes-1.patch &&
  ln -s ../../../dowloads/coreutils/coreutils-5.2.1-uname-2.patch &&
  ....
  ....
  ln -s ../../../dowloads/sysklogd/sysklogd-1.4.1-signal-1.patch &&
  ln -s ../../../dowloads/udev/udev-025-config-2.patch &&
  ln -s ../../../dowloads/util/util-linux-2.12a-kernel-headers-1.patch &&

  exit

This is the default output, but both lfs/cvs/unstable/ and ../../../ can be 
modified via --stringparam parameters to match the proper 
{B}LFS-{version,branch} patches directory. Not sure if create links is the 
right way, currently the patches are copied instead of linked :-?


What do you think abuot this? Can be implemented?

-- 
Manuel Canales Esparcia         
Usuario de LFS nº 2886: http://www.linuxfromscratch.org/
LFS en castellano:  http://www.escomposlinux.org/lfs-es  http://www.lfs-es.org
TLDP-ES                 http://es.tldp.org



More information about the lfs-dev mailing list