projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0450635
)
only rebuild initrd if not in build service mode
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 29 Mar 2010 12:58:51 +0000
(14:58 +0200)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 29 Mar 2010 14:23:40 +0000
(16:23 +0200)
build service always passes --rpmlint so use that as trigger
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
006fe92
..
8451e5b
100755
(executable)
--- a/
build
+++ b/
build
@@
-920,7
+920,7
@@
if [ "$VM_TYPE" = 'kvm' -a -z "$RUNNING_IN_VM" ]; then
-m "binfmt_misc virtio_pci virtio_blk" \
-k $qemu_kernel \
-i ${qemu_initrd}-virtio)
- if [ ! -w /root ]; then
+ if [ ! -w /root
-o -n "$RPMLIST"
]; then
echo "No initrd that provides virtio support found. virtio accelleration disabled."
echo "Run the following command as root to enable virtio:"
shellquote "${mkinitrd_virtio_cmd[@]}"