config clean up of usesless variables regarding initramfs

svn path=/dists/trunk/linux-2.6/; revision=14017
This commit is contained in:
Maximilian Attems 2009-07-27 12:13:11 +00:00
parent 238bf2017b
commit 8bad787f9a
1 changed files with 0 additions and 11 deletions

View File

@ -34,8 +34,6 @@ my $loader = "=L"; # lilo, silo, quik, palo, vmelilo, nettrom, arcboo
my $image_dir = "=D"; # where the image is located
my $clobber_modules = ''; # target machine defined
my $relative_links = ""; # target machine defined
my $initrd = "=I"; # initrd kernel
my $mkimage = "=M"; # command to generate the initrd image
my $use_hard_links = ''; # hardlinks do not work across fs boundaries
my $postinst_hook = ''; #Normally we do not
my $postrm_hook = ''; #Normally we do not
@ -49,8 +47,6 @@ 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.
my $initrddep = "=MD"; # List of dependencies for such tools
my $package_name = "=ST-image-$version";
my $Loader = "NoLOADER"; #
@ -136,19 +132,12 @@ if (-r "$CONF_LOC" && -f "$CONF_LOC" ) {
$preinst_hook = "$1" if /preinst_hook\s*=\s*(\S+)/ig;
$prerm_hook = "$1" if /prerm_hook\s*=\s*(\S+)/ig;
$mkimage = "$1" if /mkimage\s*=\s*(.+)$/ig;
$ramdisk = "$1" if /ramdisk\s*=\s*(.+)$/ig;
}
close CONF;
$have_conffile = "Yes";
}
}
# For some versions of kernel-package, we had this warning in the
# postinst, but the rules did not really interpolate the value in.
# Here is a sanity check.
my $pattern = "=" . "I";
$initrd=~ s/^$pattern$//;
if ($link_in_boot) {
$image_dest = "/$image_dir/";
$image_dest =~ s|^/*|/|o;