diff options
author | Thomas Haller <thaller@redhat.com> | 2014-02-27 18:55:59 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-30 17:42:09 +0200 |
commit | fbc9c41e96b07798d08bba355dea8985d1b9c2f2 (patch) | |
tree | 4cbb7158edc1276830b66de4ed43a170cdc3eb54 /contrib | |
parent | f2878b76333984ffda9189828f78b11faa07c568 (diff) | |
download | NetworkManager-fbc9c41e96b07798d08bba355dea8985d1b9c2f2.tar.gz |
contrib/nm-live-vm: include the NetworkManager source in the live-mv file for debugging
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/fedora/nm-live-vm/build.sh | 3 | ||||
-rwxr-xr-x | contrib/fedora/nm-live-vm/nm-make-script.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/contrib/fedora/nm-live-vm/build.sh b/contrib/fedora/nm-live-vm/build.sh index c74e775a26..8cf734795d 100755 --- a/contrib/fedora/nm-live-vm/build.sh +++ b/contrib/fedora/nm-live-vm/build.sh @@ -37,6 +37,7 @@ PACKAGES="kernel passwd git autoconf automake libtool intltool gtk-doc libnl3-de dhclient dnsmasq bash-completion man-db man-pages vim-minimal firewald + vim gdb valgrind lsof strace nmap-ncat tcpdump net-tools bridge-utils vconfig teamd libteam" @@ -90,7 +91,7 @@ do_live_vm() { echo "Preparing kernel and initrd..." || exit 1 mkdir -p $NAME || exit 1 cp $TREE/boot/vmlinuz* $NAME/vmlinuz || exit 1 - mock -r "$ROOT" --chroot "{ ( cd / ; find -not \( -path ./tmp/initramfs.img -o -path './var/cache/yum/*' -o -path './boot' -o -path './NetworkManager' \) -xdev -print0 | cpio -o0c ) || exit 1; } | gzip > /tmp/initramfs.img || exit 1" || die "error creating initramfs" + mock -r "$ROOT" --chroot "{ ( cd / ; find -not \( -path ./tmp/initramfs.img -o -path './var/cache/yum/*' -o -path './boot' \) -xdev -print0 | cpio -o0c ) || exit 1; } | gzip > /tmp/initramfs.img || exit 1" || die "error creating initramfs" cp "$TREE/tmp/initramfs.img" "$NAME/" || exit 1 cp run.sh $NAME/run.sh } diff --git a/contrib/fedora/nm-live-vm/nm-make-script.sh b/contrib/fedora/nm-live-vm/nm-make-script.sh index adbb4848f0..34ee49cd79 100755 --- a/contrib/fedora/nm-live-vm/nm-make-script.sh +++ b/contrib/fedora/nm-live-vm/nm-make-script.sh @@ -49,3 +49,5 @@ level=DEBUG domains=ALL EOF /bin/systemctl enable NetworkManager.service || exit 1 + +git gc |