Merge lp:~notnownikki/offspring/post-build-chroot into lp:offspring
Proposed by
Nicola Heald
Status: | Merged |
---|---|
Merged at revision: | 180 |
Proposed branch: | lp:~notnownikki/offspring/post-build-chroot |
Merge into: | lp:offspring |
Diff against target: |
111 lines (+53/-3) 3 files modified
lib/offspring/build/bin/offspring-build (+38/-1) lib/offspring/build/functions/exit.sh (+8/-0) lib/offspring/build/functions/files.sh (+7/-2) |
To merge this branch: | bzr merge lp:~notnownikki/offspring/post-build-chroot |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Timothy R. Chavez | Approve | ||
Review via email: mp+192018@code.launchpad.net |
Description of the change
Adds a routine that looks for a post-build bash script in the project config, and builds a chroot with access to the built image to run it in if it's there.
Requires the following commands to be runnable with sudo:
umount /var/tmp/lexbuild*
rm -rf /var/tmp/lexbuild*
debbootstrap
mkdir /var/tmp/lexbuild*
mount -o bind
chroot /var/tmp/lexbuild*
/bin/chown
Tim, can you check through and make sure I've got those extra sudo command right for our environment before I go merging anything? Cheers!
To post a comment you must log in.
Hey, I looked at this and will look at it again in the morning. I also want to speak with you to get some clarifications on some things.