Changeset ea546c8 in clfs-embedded for scripts/patch/uclibc-patches.sh
- Timestamp:
- Feb 16, 2009, 4:28:22 PM (16 years ago)
- Branches:
- master
- Children:
- a4733fb
- Parents:
- 7791a76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.