From 21ce6a9b6268d76406d033470f4f6fa06e9012f1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 23 May 2005 06:42:49 +0000 Subject: - create kernel/RPMS/ to copy rpms before expanding them in kernel/all.kernels - remove old compatability code - add some doc in update_kernel --- make_boot_img | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index 702fd27bf..a1e46bbf7 100755 --- a/make_boot_img +++ b/make_boot_img @@ -5,10 +5,6 @@ use MDK::Common; Config->import; my ($arch) = $Config{archname} =~ /(.*?)-/; -# move stuff to new "kernel" directory --d 'kernel' or die "directory kernel is missing\n"; -rename 'all.kernels', 'kernel/all.kernels'; - my $default_append = "ramdisk_size=128000"; # full acpi support for x86_64, enough acpi support for x86 ht, no acpi for others my $default_acpi = $arch =~ /i.86/ ? "acpi=ht" : $arch =~ /x86_64/ ? "" : "acpi=off"; @@ -36,9 +32,9 @@ sub mke2fs { _ "$sudo mkdir -p $tmp_mnt $tmp_mnt_initrd"; mkdir "images"; -my $main = chomp_(cat_('kernel/all.kernels/.main')); -my $main_BOOT = chomp_(cat_('kernel/all.kernels/.main-BOOT')); -my @kernels = grep { /^2/ } grep { !/xbox/ } all('kernel/all.kernels'); +my $main = chomp_(cat_('kernel/RPMS/.main')); +my $main_BOOT = chomp_(cat_('kernel/RPMS/.main-BOOT')); +my @kernels = grep { !/xbox/ } all('kernel/all.kernels'); my @kernels_BOOT = grep { /BOOT/ } @kernels; my @all_images = ( -- cgit v1.2.1