From: "Liam McLoughlin" <hexxeh@hexxeh.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/gentoaster:master commit in: / Date: Fri, 12 Aug 2011 23:17:54 +0000 (UTC) [thread overview] Message-ID: <0318eec2f613ed905363c31316fd50ee8bdde85d.hexxeh@gentoo> (raw) commit: 0318eec2f613ed905363c31316fd50ee8bdde85d Author: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> AuthorDate: Fri Jul 15 20:40:31 2011 +0000 Commit: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> CommitDate: Fri Jul 15 20:40:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=0318eec2 Let's try not to nuke /dev if things go wrong --- create_image.sh | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/create_image.sh b/create_image.sh index f87e507..77664f1 100755 --- a/create_image.sh +++ b/create_image.sh @@ -64,8 +64,8 @@ cleanup_mounts() { umount -d -f ${IMAGE_WORK_PATH}/rootfs/dev/shm &>> ${LOG_FILE} umount -d -f ${IMAGE_WORK_PATH}/rootfs/dev &>> ${LOG_FILE} umount -d -f ${IMAGE_WORK_PATH}/rootfs/proc &>> ${LOG_FILE} - umount -d -f ${IMAGE_WORK_PATH}/rootfs/boot &>> ${LOG_FILE} - umount -d -f ${IMAGE_WORK_PATH}/rootfs &>> ${LOG_FILE} + umount -d -f -l ${IMAGE_WORK_PATH}/rootfs/boot &>> ${LOG_FILE} + umount -d -f -l ${IMAGE_WORK_PATH}/rootfs &>> ${LOG_FILE} sleep 2 } @@ -73,8 +73,7 @@ cleanup_mounts() { handle_error() { echo "$1" cd ${IMAGE_WORK_PATH} - cleanup_mounts - rm -rf ${IMAGE_WORK_PATH} + cleanup_mounts && rm -rf ${IMAGE_WORK_PATH} exit 1 }
WARNING: multiple messages have this Message-ID (diff)
From: "Liam McLoughlin" <hexxeh@hexxeh.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/gentoaster:webui commit in: / Date: Fri, 15 Jul 2011 20:40:32 +0000 (UTC) [thread overview] Message-ID: <0318eec2f613ed905363c31316fd50ee8bdde85d.hexxeh@gentoo> (raw) Message-ID: <20110715204032.y_rHBmCM4LzD892swZCrC3NKvbLaNgKrVOJ89irbKFs@z> (raw) commit: 0318eec2f613ed905363c31316fd50ee8bdde85d Author: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> AuthorDate: Fri Jul 15 20:40:31 2011 +0000 Commit: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> CommitDate: Fri Jul 15 20:40:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=0318eec2 Let's try not to nuke /dev if things go wrong --- create_image.sh | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/create_image.sh b/create_image.sh index f87e507..77664f1 100755 --- a/create_image.sh +++ b/create_image.sh @@ -64,8 +64,8 @@ cleanup_mounts() { umount -d -f ${IMAGE_WORK_PATH}/rootfs/dev/shm &>> ${LOG_FILE} umount -d -f ${IMAGE_WORK_PATH}/rootfs/dev &>> ${LOG_FILE} umount -d -f ${IMAGE_WORK_PATH}/rootfs/proc &>> ${LOG_FILE} - umount -d -f ${IMAGE_WORK_PATH}/rootfs/boot &>> ${LOG_FILE} - umount -d -f ${IMAGE_WORK_PATH}/rootfs &>> ${LOG_FILE} + umount -d -f -l ${IMAGE_WORK_PATH}/rootfs/boot &>> ${LOG_FILE} + umount -d -f -l ${IMAGE_WORK_PATH}/rootfs &>> ${LOG_FILE} sleep 2 } @@ -73,8 +73,7 @@ cleanup_mounts() { handle_error() { echo "$1" cd ${IMAGE_WORK_PATH} - cleanup_mounts - rm -rf ${IMAGE_WORK_PATH} + cleanup_mounts && rm -rf ${IMAGE_WORK_PATH} exit 1 }
next reply other threads:[~2011-08-12 23:18 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-12 23:17 Liam McLoughlin [this message] 2011-07-15 20:40 ` [gentoo-commits] proj/gentoaster:webui commit in: / Liam McLoughlin -- strict thread matches above, loose matches on Subject: below -- 2011-08-23 21:29 [gentoo-commits] proj/gentoaster:master " Liam McLoughlin 2011-08-19 13:09 Liam McLoughlin 2011-08-15 2:24 Liam McLoughlin 2011-08-15 2:00 Liam McLoughlin 2011-08-15 1:54 Liam McLoughlin 2011-08-14 15:46 Liam McLoughlin 2011-08-12 23:18 Liam McLoughlin 2011-08-12 23:17 Liam McLoughlin 2011-08-11 20:31 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin 2011-08-12 23:18 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin 2011-07-15 20:41 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin 2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin 2011-07-11 14:00 Liam McLoughlin 2011-07-10 23:53 Liam McLoughlin 2011-07-08 22:41 Liam McLoughlin 2011-07-08 18:47 Liam McLoughlin 2011-07-08 18:35 Liam McLoughlin 2011-07-08 18:27 Liam McLoughlin 2011-07-08 17:27 Liam McLoughlin 2011-07-08 2:45 Liam McLoughlin 2011-06-16 1:01 Liam McLoughlin 2011-06-16 1:01 Liam McLoughlin 2011-06-14 21:28 Liam McLoughlin 2011-06-14 21:03 Liam McLoughlin 2011-06-14 20:44 Liam McLoughlin 2011-06-08 0:06 Liam McLoughlin 2011-06-05 23:32 Liam McLoughlin 2011-06-05 23:32 Liam McLoughlin 2011-06-05 23:32 Liam McLoughlin 2011-06-04 3:47 Liam McLoughlin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=0318eec2f613ed905363c31316fd50ee8bdde85d.hexxeh@gentoo \ --to=hexxeh@hexxeh.net \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox