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

Problems building kernel

I'm trying to build an old(ish) kernel ( on an
up-to-date F-11 system, but I keep getting a build failure. I have
tracked it down to the following.

At the beginning of the %install stage, it executes
'[' /u/home/hsn/rpmbuild/BUILDROOT/kernel- '!=' /
rm -rf /u/home/hsn/rpmbuild/BUILDROOT/kernel-
but there are already files in that directory that have been created
earlier in the build process  and are needed for the install (see
extract of build log below).

I notice that when kernels are build in koji, this rm ... does not get
executed, but also, looking at other packages' build.log in koji (the
example I took was rpm itself), then the equivalent rm command is

I cannot see where the rm ... command comes from, or how to stop it.

Can anyone give me some pointers?


> mkdir -p /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> + mv /u/home/hsn/rpmbuild/BUILDROOT/kernel- /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> + ln -sf ../../../usr/src/kernels/ /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> + exit 0
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NR0ESi
> + umask 022
> + cd /u/home/hsn/rpmbuild/BUILD
> + '[' /u/home/hsn/rpmbuild/BUILDROOT/kernel- '!=' / ']'
> + rm -rf /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> ++ dirname /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> + mkdir -p /u/home/hsn/rpmbuild/BUILDROOT
> + mkdir /u/home/hsn/rpmbuild/BUILDROOT/kernel-
> + cd kernel-2.6.29
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd linux-2.6.29.i586

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