maintainer script nuke "official_image" variable
we are allways *offical*. svn path=/dists/trunk/linux-2.6/; revision=14319
This commit is contained in:
parent
9284799792
commit
4798154a03
|
@ -46,7 +46,6 @@ my $ignore_depmod_err = ''; # normally we do not
|
|||
my $relink_src_link = 'YES'; # There is no harm in checking the link
|
||||
my $relink_build_link = 'YES'; # There is no harm in checking the link
|
||||
my $force_build_link = ''; # There is no harm in checking the link
|
||||
my $official_image = "=OF"; # only true for official images
|
||||
my $arch = "=A"; # should be same as dpkg --print-installation-architecture
|
||||
my $kernel_arch = "=B";
|
||||
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
|
||||
|
@ -969,9 +968,7 @@ LOADER: {
|
|||
last if $loader =~ /nettrom/i; # NETTROM does not have to be executed.
|
||||
last if $loader =~ /arcboot/i; # ARCBOOT does not have to be executed.
|
||||
last if $loader =~ /delo/i; # DELO does not have to be executed.
|
||||
if ($official_image =~ /^\s*YES\s*$/o) {
|
||||
last if $loader =~ /quik/i; # maintainer asked quik invocation to be ignored
|
||||
}
|
||||
last if $loader =~ /quik/i; # maintainer asked quik invocation to be ignored
|
||||
|
||||
last unless $loaderloc;
|
||||
last unless -x $loaderloc;
|
||||
|
|
|
@ -52,7 +52,6 @@ my $minimal_swap = ''; # Do not swap symlinks
|
|||
my $ignore_depmod_err = ''; # normally we do not
|
||||
my $relink_build_link = 'YES'; # There is no harm in checking the link
|
||||
my $force_build_link = ''; # we shall not create a dangling link
|
||||
my $official_image = "=OF"; # only true for official images
|
||||
my $arch = "=A"; # should be same as dpkg --print-installation-architecture
|
||||
my $kernel_arch = "=B";
|
||||
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
|
||||
|
|
|
@ -38,7 +38,6 @@ my $ignore_depmod_err = ''; # normally we do not
|
|||
my $relink_src_link = 'YES'; # There is no harm in checking the link
|
||||
my $relink_build_link = 'YES'; # There is no harm in checking the link
|
||||
my $force_build_link = ''; # There is no harm in checking the link
|
||||
my $official_image = "=OF"; # only true for official images
|
||||
my $arch = "=A"; # should be same as dpkg --print-installation-architecture
|
||||
my $kernel_arch = "=B";
|
||||
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
|
||||
|
@ -164,11 +163,9 @@ if (-d "$modules_base/$version") {
|
|||
warn "Info:\n$errors\n" if $errors;
|
||||
}
|
||||
|
||||
if ($official_image =~ /^\s*YES\s*$/o ) {
|
||||
if (-d "$modules_base/$version" && -l "$modules_base/$version/build" ) {
|
||||
rename("$modules_base/$version/build", "$modules_base/$version/build.save") ||
|
||||
die "failed to move $modules_base/$version/build:$!";
|
||||
}
|
||||
if (-d "$modules_base/$version" && -l "$modules_base/$version/build" ) {
|
||||
rename("$modules_base/$version/build", "$modules_base/$version/build.save") ||
|
||||
die "failed to move $modules_base/$version/build:$!";
|
||||
}
|
||||
|
||||
# set the env var stem
|
||||
|
|
|
@ -39,7 +39,6 @@ my $minimal_swap = ''; # Do not swap symlinks
|
|||
my $ignore_depmod_err = ''; # normally we do not
|
||||
my $relink_build_link = 'YES'; # There is no harm in checking the link
|
||||
my $force_build_link = ''; # There is no harm in checking the link
|
||||
my $official_image = "=OF"; # only true for official images
|
||||
my $arch = "=A"; # should be same as dpkg --print-installation-architecture
|
||||
my $kernel_arch = "=B";
|
||||
my $package_name = "=ST-image-$version";
|
||||
|
|
Loading…
Reference in New Issue