search for: addexit

Displaying 6 results from an estimated 6 matches for "addexit".

Did you mean: addept
2009 Aug 20
3
[PATCH ovirt-node-image] fixes for edit-livecd
Patch set fixes issues with image size increase when using edit-livecd Also address issue with ext4 root fs
2009 Nov 10
2
[RFC][PATCH] ovirt-node-image : edit-livecd : fail on error in arbitrary code
...lse read fi +# exit if $CODE failed. Look if '$WDIR/fail' exists +if [ -a $WDIR/fail ] ; then + rm $WDIR/fail + # need to explictly look for proc as failure in $CODE leaves it mounted causing 'umount $WDIR/ex-rw' to fail + mount | grep livecd | grep proc && addExit "umount -v $WDIR/ex-rw/proc" + exit +fi + # Try to unmount. But this is likely to fail, so let the user retry, # e.g., if he forgot to "cd" out of $WDIR/ex. while :; do
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
...; then die "Must run as root" fi +test selinuxenabled || { echo "selinux not enabled, aborting" ; exit 1 ; } + # Check for some prerequisites. # "type" prints "PROG not found" if it's not in $PATH. type mkisofs @@ -137,6 +142,71 @@ mnt() { addExit "df | grep $mp > /dev/null 2>&1 && umount -v $mp" } +# Create new ext2 filesystem and copy contents of one into the other +# Size of ext2 filesystem is same as original size unless size parameter +# is passed in +create_ext2fs() { + local input_file=$1 + local i...
2009 Sep 22
1
[PATCH] edit-livecd in python
...*) true;; - esac -} - -# Fail if names we'll use contain white space or shell meta-characters -sane_name "$PWD" || die "invalid working directory name: $PWD" -sane_name "$CD" || die "invalid ISO name: $CD" - -WDIR=`mktemp -d $PWD/livecd.XXXXXXXXXX` - -addExit() { - EXIT="$@ ; $EXIT" - trap "$EXIT" EXIT HUP TERM INT QUIT -} - -mnt() { - local margs="$1" ; shift - local mp="$WDIR/$1" - for D in "$@" ; do - mkdir -v -p "$WDIR/$D" - done - eval mount -v $margs "$mp&...
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node. Removed tools, these are now in ovirt-node-recipe which is subpackage of ovirt-node.
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.