[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: buildinstall error, is it fatal?



Hal,

Could you explain to me in further detail how you used the below heuristic? 

Do I add the below to the mk-images script? 


On Tue, 05 Oct 2004 11:46:18 -0700, Hal Wine <hal reactivity com> wrote:
> fwiw, I used a heuristic of whether the ${anacondaKernelVersion}BOOT/
> directory existed at the end of the pass. If it did, I had a good iso:
>    temp=$(mktemp -d /tmp/$prog.$(id -un).XXXXXX)
>    anacondaKernelVersion=$(grep ^kernel-BOOT rpmlist-anaconda |
>       sed 's/kernel-BOOT-\(.*\).i386.rpm/\1/')
> ...
>    # it all worked heuristic:
>    [ $ec -eq 0 -a -d $temp/${anacondaKernelVersion}BOOT ]
>    ec=$?


Cheers

Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]