diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-31 09:56:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-31 09:56:41 +0000 |
commit | 8acccfca085785a177ef42948d4021e2970dadab (patch) | |
tree | f97f1e8df17e107520395e00fd1cb6de426fac65 | |
parent | 93a9ad6059ad4551bba2a95d296ca85c585b19e1 (diff) | |
download | drakx-backup-do-not-use-8acccfca085785a177ef42948d4021e2970dadab.tar drakx-backup-do-not-use-8acccfca085785a177ef42948d4021e2970dadab.tar.gz drakx-backup-do-not-use-8acccfca085785a177ef42948d4021e2970dadab.tar.bz2 drakx-backup-do-not-use-8acccfca085785a177ef42948d4021e2970dadab.tar.xz drakx-backup-do-not-use-8acccfca085785a177ef42948d4021e2970dadab.zip |
patch with --no-backup-if-mismatch
-rwxr-xr-x | make_boot_img | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img index b7a48b99b..e562bb40a 100755 --- a/make_boot_img +++ b/make_boot_img @@ -91,7 +91,7 @@ sub initrd { my $ftype = $type =~ /^(all)$/ ? "pcmcia" : $type; if ($ftype eq "pcmcia" && $arch !~ /ppc/ && $arch !~ /ia64/) { _ "$sudo cp -a /etc/pcmcia $mnt/etc"; - _ "$sudo patch -p0 -d $mnt/etc < $instdir/pcmcia_config.patch"; + _ "$sudo patch --no-backup-if-mismatch -p0 -d $mnt/etc < $instdir/pcmcia_config.patch"; } my ($ext) = $img =~ /rdz-(.*)/ or die "bad initrd name ($img)"; $modz = "all.modules$I/$ext"; |