-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Holger Levsen wrote:
> Hi Micah,
>
> On Thursday 02 February 2006 02:59, you wrote:
>
>>tag 350967 +unreproducible
>
>
> I can reproduce it with
>
> make-kpkg clean && time nice make-kpkg --append-to-version vserver
> --revision 01 --config menuconfig --initrd kernel_image
When I do it your way I get this:
pond:/usr/src/linux-source-2.6.15# cp /boot/config-2.6.15-rc4-k7 ./.config
pond:/usr/src/linux-source-2.6.15# export PATCH_THE_KERNEL=YES
pond:/usr/src/linux-source-2.6.15# make-kpkg clean && time nice
make-kpkg --append-to-version vserver --revision 01 --config
menuconfig --in
itrd kernel_image
exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean
====== making target minimal_clean [new prereqs: ]======
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
make ARCH=i386 distclean
make[1]: Entering directory `/usr/src/linux-source-2.6.15'
CLEAN .config
make[1]: Leaving directory `/usr/src/linux-source-2.6.15'
test ! -f config.precious || mv -f config.precious .config
rm -f modules/modversions.h modules/ksyms.ver conf.vars
scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches
stamp-build stamp-confi
gure stamp-image stamp-headers stamp-src stamp-diff stamp-doc
stamp-manual stamp-patch stamp-buildpackage stamp-debian
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian
DEBIAN_REVISION=01 APPEND_TO_VERSION=vserver INITRD=YES
====== making target minimal_debian [new prereqs: ]======
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed -e 's/=V/2.6.15vserver/g' \
-e 's/=D/01/g' -e 's/=A/i386/g' \
-e 's/=SA//g' -e 's/=L/ /g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED]>/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
/usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=V/2.6.15vserver/g' \
-e 's/=D/01/g' -e 's/=A/i386/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED]>/g'
\
/usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog Control Control.bin86 config templates.in ;
do \
cp -f /usr/share/kernel-package/$file ./debian/;
\
done
for dir in Config docs examples ruleset scripts pkg po; do
\
cp -af /usr/share/kernel-package/$dir ./debian/;
\
done
test -d ./debian/stamps || mkdir debian/stamps
exec debian/rules DEBIAN_REVISION=01 APPEND_TO_VERSION=vserver
CONFIG_TARGET=menuconfig INITRD=YES kernel_image
====== making target CONFIG-common [new prereqs: testdir]======
====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile
scripts/package/Makefile.dist && \
(echo "# Dummy file "; echo "help:") >
scripts/package/Makefile)
test -d debian || mkdir ./debian
test ! -e stamp-building || rm -f stamp-building
test ! -f ./debian || test -f stamp-debian || test -f debian/official || \
(rm -rf ./debian && mkdir ./debian)
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/apply/vserver
/usr/src/kernel-patches/all/apply/vserver-quota ; do \
if test -x $patch; then \
if $patch; then \
echo "Patch $patch processed fine"; \
echo "$patch" >> applied_patches; \
else \
echo "Patch $patch failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
fi; \
done
START applying vserver patch (Context switching virtual private servers)
Testing whether "Context switching virtual private servers" patch for
2.6.15 applies (dry run):
"Context switching virtual private servers" patch for 2.6.15 succeeded
Removing empty files:
Done.
No "Context switching virtual private servers" patch found for kernel
version 2.6.15
Patch /usr/src/kernel-patches/all/apply/vserver-quota failed.
Hit return to Continue
Is this what you are getting? The vserver patch applies file, but the
quota patch does not (it shouldn't, its not made for this kernel).
This isn't the way that the README.Debian says to do things... you don't
include --added-patches vserver, nor did you export the variable (and
although it doesn't matter for this issue, you also don't include
- --rootcmd fakeroot which is included in the How to Apply in that README)
Micah
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD4l/r9n4qXRzy1ioRAuXgAJ44NbgetkYoJVjA7G1TYsuVPsQkbwCdF7bR
nlDv87sYvJmxM/houoKgP5M=
=unpu
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]