Changeset f5994ee in clfs-embedded
- Timestamp:
- Mar 28, 2009, 9:12:33 AM (16 years ago)
- Branches:
- master
- Children:
- e34f06c
- Parents:
- 118c546
- Files:
-
- 1 added
- 1 deleted
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/packages.ent
r118c546 rf5994ee 55 55 <!ENTITY linux-dl-version "2.6"> 56 56 57 <!ENTITY linux-version "2.6.2 8.7">58 <!ENTITY linux-size "5 1,483 KB">57 <!ENTITY linux-version "2.6.29"> 58 <!ENTITY linux-size "55,253 KB"> 59 59 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-dl-version;/linux-&linux-version;.tar.bz2"> 60 <!ENTITY linux-md5 " 72d7d509c1f997e6d043bc9c683d89f1">60 <!ENTITY linux-md5 "64921b5ff5cdadbccfcd3820f03be7d8"> 61 61 <!ENTITY linux-home "http://www.kernel.org"> 62 62 … … 68 68 <!ENTITY mpfr-home "http://www.mpfr.org/"> 69 69 70 <!ENTITY uclibc-version "0.9.30 ">71 <!ENTITY uclibc-size "2,23 8KB">70 <!ENTITY uclibc-version "0.9.30.1"> 71 <!ENTITY uclibc-size "2,231 KB"> 72 72 <!ENTITY uclibc-url "http://www.uclibc.org/downloads/uClibc-&uclibc-version;.tar.bz2"> 73 <!ENTITY uclibc-md5 " e5766e2566e0297adebebbcc0aba1f2d">73 <!ENTITY uclibc-md5 "1a4b84e5536ad8170563ffa88c34679c"> 74 74 <!ENTITY uclibc-home "http://uclibc.org/"> 75 75 -
BOOK/patches.ent
r118c546 rf5994ee 33 33 <!ENTITY mpfr-branch_update-patch-size "3 KB"> 34 34 35 <!ENTITY uclibc-branch_update-patch "uClibc-&uclibc-version;-branch_update- 3.patch">36 <!ENTITY uclibc-branch_update-patch-md5 "7 987da42d5ad2a3cbcad571d780d81c6">37 <!ENTITY uclibc-branch_update-patch-size " 93KB">35 <!ENTITY uclibc-branch_update-patch "uClibc-&uclibc-version;-branch_update-1.patch"> 36 <!ENTITY uclibc-branch_update-patch-md5 "7f1ca40d176b74b865977fb085a5eb7f"> 37 <!ENTITY uclibc-branch_update-patch-size "36 KB"> 38 38 39 39 <!-- Beyond patches --> -
config/uClibc-0.9.30.1.config
r118c546 rf5994ee 1 1 # 2 2 # Default CLFS Embedded uClibc config 3 # Version: 0.9.30 3 # Version: 0.9.30.1 4 4 # 5 5 # TARGET_alpha is not set -
scripts/patch/uclibc-patches.sh
r118c546 rf5994ee 5 5 # 6 6 VERSION=$1 7 SOURCEVERSION=$2 7 8 8 9 # Check Input 9 10 # 10 if [ "${VERSION}" = "" ]; then11 if [ "${VERSION}" = "" -o "${SOURCEVERSION}" = "" ]; then 11 12 echo "$0 - uClibc_Version" 12 echo "This will Create a Patch for uClibc uClibc_Version" 13 echo "This will Create a Patch for uClibc uClibc_Series uClibc_Version" 14 echo "Example $0 0.9.30 0.9.30.1" 13 15 exit 255 14 16 fi … … 17 19 # 18 20 cd /usr/src 19 if ! [ -e uClibc-${ VERSION}.tar.bz2 ]; then20 wget http://www.uclibc.org/downloads/uClibc-${ VERSION}.tar.bz221 if ! [ -e uClibc-${SOURCEVERSION}.tar.bz2 ]; then 22 wget http://www.uclibc.org/downloads/uClibc-${SOURCEVERSION}.tar.bz2 21 23 fi 22 24 … … 25 27 cd /usr/src 26 28 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/patches/ --no-remove-listing 27 PATCH_NUM=$(cat index.html | grep uClibc | grep "${ VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)29 PATCH_NUM=$(cat index.html | grep uClibc | grep "${SOURCEVERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 28 30 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 29 31 rm -f index.html … … 31 33 # Cleanup Directory 32 34 # 33 rm -rf uClibc-${ VERSION} uClibc-${VERSION}.orig34 tar xvf uClibc-${ VERSION}.tar.bz235 mv uClibc-${ VERSION} uClibc-${VERSION}.orig35 rm -rf uClibc-${SOURCEVERSION} uClibc-${SOURCEVERSION}.orig 36 tar xvf uClibc-${SOURCEVERSION}.tar.bz2 37 mv uClibc-${SOURCEVERSION} uClibc-${SOURCEVERSION}.orig 36 38 CURRENTDIR=$(pwd -P) 37 39 … … 40 42 cd /usr/src 41 43 FIXEDVERSION=$(echo ${VERSION} | sed -e 's/\./_/g') 42 svn export svn://uclibc.org/branches/uClibc_${FIXEDVERSION} uClibc-${VERSION}44 svn export svn://uclibc.org/branches/uClibc_${FIXEDVERSION} uClibc-${SOURCEVERSION} 43 45 44 46 # Create Patch 45 47 # 46 48 cd /usr/src 47 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch48 echo "Date: `date +%m-%d-%Y`" >> uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch49 echo "Initial Package Version: ${ VERSION}" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch50 echo "Origin: Upstream" >> uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch51 echo "Upstream Status: Applied" >> uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch52 echo "Description: This is a branch update for uClibc-${ VERSION}, and should be" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch53 echo " rechecked periodically." >> uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch54 echo "" >> uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch55 diff -Naur uClibc-${ VERSION}.orig uClibc-${VERSION} >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch56 echo "Created /usr/src/uClibc-${ VERSION}-branch_update-${PATCH_NUM}.patch."49 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 50 echo "Date: `date +%m-%d-%Y`" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 51 echo "Initial Package Version: ${SOURCEVERSION}" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 52 echo "Origin: Upstream" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 53 echo "Upstream Status: Applied" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 54 echo "Description: This is a branch update for uClibc-${SOURCEVERSION}, and should be" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 55 echo " rechecked periodically." >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 56 echo "" >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 57 diff -Naur uClibc-${SOURCEVERSION}.orig uClibc-${SOURCEVERSION} >> uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 58 echo "Created /usr/src/uClibc-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.