* Can't get pom-ng to batch apply one patch
@ 2004-07-20 19:05 Kevin White
0 siblings, 0 replies; only message in thread
From: Kevin White @ 2004-07-20 19:05 UTC (permalink / raw)
To: netfilter
I'm trying to automatically build a kernel. As such, I need to
automatically apply pom patches, and I can't get it to work.
I'm using patch-o-matic-ng-20040621. For kicks, I'm trying to apply the
"first" patch in the base suite, 04_linux-2.4.26-helper_reassign.patch.
That patch does apply if I run:
./runme base
and say "Y" to it. But I can't get this to work:
./runme --batch updates/04_linux-2.4.26-helper_reassign.patch
First, on an unmodified runme, this code causes my patch to be skipped:
for my $rep (@repositories) {
PATCHLET: for my $plname (@patchlets) {
my $patchlet = $session->{patchlets}->{$plname};
next PATCHLET unless defined $patchlet
The $session hash doesn't have a patch called
"updates/04_linux-2.4.26-helper_reassign.patch", but I have to refer to
the patch by that name to get past all of the prior checks for .info
files and such.
So, I hacked this in there:
$plname =~ s/.*\///;
print "looking at $plname\n";
before the my $patchlet line, and it causes it to match, but then, the
patch won't actually apply:
cannot apply (1 rejects out of 1 hunks)
cannot apply (41 rejects out of 43 hunks)
ERROR (41 rejects out of 43 hunks)
apply_dependency: unable to apply dependent 02_linux-2.4.24.patch
-----------------------------------------------------------------
Which wouldn't happen if I just ran runme and picked this patch.
So, help! How to people batch apply specific patches?
Kevin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-20 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-20 19:05 Can't get pom-ng to batch apply one patch Kevin White
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox