From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b8101c50ea58cc6a6bc76fe472826af7b7f33271 Date: Wed, 05 Feb 2014 10:54:29 +0100 Message-ID: <20140205095429.B275D20FAF@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8875717769349913264==" List-Id: --===============8875717769349913264== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via b8101c50ea58cc6a6bc76fe472826af7b7f33271 (commit) from 97461f500bc755bb4bd0158b0bd4df5f1fc226f5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b8101c50ea58cc6a6bc76fe472826af7b7f33271 Author: Arne Fitzenreiter Date: Wed Feb 5 10:52:46 2014 +0100 partresize: update c,h,s values before resize. =20 Some cards fail with wrong translations so the values are updated before = resize. ----------------------------------------------------------------------- Summary of changes: src/initscripts/init.d/partresize | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Difference in files: diff --git a/src/initscripts/init.d/partresize b/src/initscripts/init.d/partr= esize index 909d63f..474b79f 100644 --- a/src/initscripts/init.d/partresize +++ b/src/initscripts/init.d/partresize @@ -6,7 +6,7 @@ # # Authors : Arne Fitzenreiter - arne_f(a)ipfire.org # -# Version : 1.03 +# Version : 1.04 # # Notes : # @@ -36,6 +36,10 @@ case "${1}" in DRV=3D${ROOT::`expr length $ROOT`-1} fi =20 + boot_mesg "Update c,h,s values of ${DRV} ..." + echo -e ',' | sfdisk --no-reread -f -N1 ${DRV} 2>&1 > /dev/null + echo -e ',' | sfdisk --no-reread -f -N3 ${DRV} 2>&1 > /dev/null + boot_mesg "Change Partition ${DRV}3 to all free space ..." echo -e ',+' | sfdisk --no-reread -N3 ${DRV} 2>/dev/null =20 @@ -44,7 +48,8 @@ case "${1}" in =20 boot_mesg "Rebooting ..." sync - mount -o remount,ro / > /dev/null + mount -o remount,ro / 2>&1 > /dev/null + sleep 15 reboot -f =20 ;; hooks/post-receive -- IPFire 2.x development tree --===============8875717769349913264==--