diff options
author | Eric Hameleers <alien@slackware.com> | 2011-03-29 09:40:52 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2011-03-29 09:40:52 +0000 |
commit | ee7487be2a9afabca4b862d01c13a7fc60910a15 (patch) | |
tree | eb1ce07973fa6ec26ef157b90951aa4ffaa2ed95 /qemu-kvm | |
parent | f914f3a73e1e25ccc0682c8ccf6a5398405f37dd (diff) | |
download | asb-ee7487be2a9afabca4b862d01c13a7fc60910a15.tar.gz asb-ee7487be2a9afabca4b862d01c13a7fc60910a15.tar.xz |
Forgot to rename the configuration file to .new
Diffstat (limited to 'qemu-kvm')
-rwxr-xr-x | qemu-kvm/build/qemu-kvm.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-kvm/build/qemu-kvm.SlackBuild b/qemu-kvm/build/qemu-kvm.SlackBuild index 020d66af..c6058273 100755 --- a/qemu-kvm/build/qemu-kvm.SlackBuild +++ b/qemu-kvm/build/qemu-kvm.SlackBuild @@ -181,6 +181,11 @@ make $NUMJOBS 2>&1 | tee $OUTPUT/make-${PRGNAM}.log make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log install -m0775 kvm/kvm_stat $PKG/usr/bin/kvm_stat +# Preserve user modifications of this config file: +# (note: this package *will* install the new .conf file, but first +# the existing .conf file will be backed up as .conf.orig) +mv -i $PKG/etc/qemu/target-x86_64.conf{,.new} + # Add this to the doinst.sh: mkdir -p $PKG/install cat <<EOINS >> $PKG/install/doinst.sh |