public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b8101c50ea58cc6a6bc76fe472826af7b7f33271
@ 2014-02-05  9:54 git
  0 siblings, 0 replies; only message in thread
From: git @ 2014-02-05  9:54 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2098 bytes --]

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 <arne_f(a)ipfire.org>
Date:   Wed Feb 5 10:52:46 2014 +0100

    partresize: update c,h,s values before resize.
    
    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/partresize
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=${ROOT::`expr length $ROOT`-1}
 		fi
 
+		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
 
@@ -44,7 +48,8 @@ case "${1}" in
 
 		boot_mesg "Rebooting ..."
 		sync
-		mount -o remount,ro / > /dev/null
+		mount -o remount,ro / 2>&1 > /dev/null
+		sleep 15
 		reboot -f
 
 		;;


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-05  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-05  9:54 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b8101c50ea58cc6a6bc76fe472826af7b7f33271 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox