[Ovirt-devel] Re: [PATCH appliance] Move appliance creation out of spec file to Makefile
David Huff
dhuff at redhat.com
Mon Nov 10 14:51:17 UTC 2008
Perry Myers wrote:
> Alan Pevec wrote:
>> Perry Myers wrote:
>>> -ln -s %{ovirt_cache_dir}/appliance-tmp tmp
>>> + ln -s $(OVIRT_CACHE_DIR)/$(PACKAGE)-tmp tmp
>>
>> ln -snf ... otherwise it fails 2nd time
>
> I stole that from your Makefile in ovirt-node :) So it'll need to be
> fixed there as well.
>
>> prolly not worth optimizing, but due to tmpdir name change
>> (appliance-tmp -> ovirt-appliance-tmp) Fedora image will be
>> re-downloaded ( ~100MB )
>
> Yeah, it's a one time thing. And if someone is concerned they can just
> move appliance-tmp to ovirt-appliance-tmp.
>
>>
>>> -sudo su - -c "cd $(pwd) && appliance-creator --config
>>> ovirt-appliance.ks \
>>> + sudo -E appliance-creator --config $(PACKAGE).ks \
>>
>> appliance-creator assumes grub in PATH, so this fails when installing
>> grub. Until appliance-tools is fixed, workaround could be to modify
>> PATH before running sudo
>>
>
> Odd, I didn't have any problems with this. Probably because I have
> /sbin in my build user's path. I'll add PATH setting to the Makefile to
> fix this.
>
> Perry
>
This issues is only on a F9 build systems. In F-10 they added sbin to
the standard users path.
-D
More information about the ovirt-devel
mailing list