Changeset ea546c8 in clfs-embedded for scripts/patch
- Timestamp:
- Feb 16, 2009, 4:28:22 PM (16 years ago)
- Branches:
- master
- Children:
- a4733fb
- Parents:
- 7791a76
- Location:
- scripts/patch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/busybox-patch.sh
r7791a76 rea546c8 27 27 wget http://busybox.net/downloads/busybox-${VERSION}.tar.bz2 28 28 fi 29 30 # Set Patch Number 31 # 32 cd /usr/src 33 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/patches/ --no-remove-listing 34 PATCH_NUM=$(cat index.html | grep busybox | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 35 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 36 rm -f index.html 29 37 30 38 # Cleanup Directory … … 68 76 # 69 77 cd /usr/src 70 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > busybox-${VERSION}-branch_update- x.patch71 echo "Date: `date +%m-%d-%Y`" >> busybox-${VERSION}-branch_update- x.patch72 echo "Initial Package Version: ${VERSION}" >> busybox-${VERSION}-branch_update- x.patch73 echo "Origin: Upstream" >> busybox-${VERSION}-branch_update- x.patch74 echo "Upstream Status: Applied" >> busybox-${VERSION}-branch_update- x.patch75 echo "Description: This is a branch update for busybox-${VERSION}, and should be" >> busybox-${VERSION}-branch_update- x.patch76 echo " rechecked periodically." >> busybox-${VERSION}-branch_update- x.patch77 echo "" >> busybox-${VERSION}-branch_update- x.patch78 diff -Naur busybox-${VERSION}.orig busybox-${VERSION} >> busybox-${VERSION}-branch_update- x.patch79 echo "Created /usr/src/busybox-${VERSION}-branch_update- x.patch."78 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 79 echo "Date: `date +%m-%d-%Y`" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 80 echo "Initial Package Version: ${VERSION}" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 81 echo "Origin: Upstream" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 82 echo "Upstream Status: Applied" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 83 echo "Description: This is a branch update for busybox-${VERSION}, and should be" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 84 echo " rechecked periodically." >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 85 echo "" >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 86 diff -Naur busybox-${VERSION}.orig busybox-${VERSION} >> busybox-${VERSION}-branch_update-${PATCH_NUM}.patch 87 echo "Created /usr/src/busybox-${VERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/uclibc-patches.sh
r7791a76 rea546c8 21 21 fi 22 22 23 # Set Patch Number 24 # 25 cd /usr/src 26 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) 28 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 29 rm -f index.html 30 23 31 # Cleanup Directory 24 32 # … … 37 45 # 38 46 cd /usr/src 39 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > uClibc-${VERSION}-branch_update- x.patch40 echo "Date: `date +%m-%d-%Y`" >> uClibc-${VERSION}-branch_update- x.patch41 echo "Initial Package Version: ${VERSION}" >> uClibc-${VERSION}-branch_update- x.patch42 echo "Origin: Upstream" >> uClibc-${VERSION}-branch_update- x.patch43 echo "Upstream Status: Applied" >> uClibc-${VERSION}-branch_update- x.patch44 echo "Description: This is a branch update for uClibc-${VERSION}, and should be" >> uClibc-${VERSION}-branch_update- x.patch45 echo " rechecked periodically." >> uClibc-${VERSION}-branch_update- x.patch46 echo "" >> uClibc-${VERSION}-branch_update- x.patch47 diff -Naur uClibc-${VERSION}.orig uClibc-${VERSION} >> uClibc-${VERSION}-branch_update- x.patch48 echo "Created /usr/src/uClibc-${VERSION}-branch_update- x.patch."47 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 48 echo "Date: `date +%m-%d-%Y`" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 49 echo "Initial Package Version: ${VERSION}" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 50 echo "Origin: Upstream" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 51 echo "Upstream Status: Applied" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 52 echo "Description: This is a branch update for uClibc-${VERSION}, and should be" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 53 echo " rechecked periodically." >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 54 echo "" >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 55 diff -Naur uClibc-${VERSION}.orig uClibc-${VERSION} >> uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch 56 echo "Created /usr/src/uClibc-${VERSION}-branch_update-${PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.