Changeset ea546c8 in clfs-embedded for scripts/patch/busybox-patch.sh
- Timestamp:
- Feb 16, 2009, 4:28:22 PM (17 years ago)
- Branches:
- master
- Children:
- a4733fb
- Parents:
- 7791a76
- File:
-
- 1 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."
Note:
See TracChangeset
for help on using the changeset viewer.