Revert "automatically guess the Debian-installer's kernel version"

Does not work, need additional tests

This reverts commit 9e1ece9e73.

Change-Id: I3d7b50450077cd5809370aed78cddb3c447c84f2
This commit is contained in:
Roman Vyalov 2014-10-12 12:29:45 +00:00
parent 9e1ece9e73
commit c50f4d4963
5 changed files with 3 additions and 14 deletions

View File

@ -64,6 +64,7 @@ CENTOS_MINOR:=5
CENTOS_RELEASE:=$(CENTOS_MAJOR).$(CENTOS_MINOR)
CENTOS_ARCH:=x86_64
UBUNTU_RELEASE:=precise
UBUNTU_INSTALLER_KERNEL_VERSION:=3.11.0-18
# Rebuld packages locally (do not use upstream versions)
# This option is depricated, because there are no upstream versions

View File

@ -1,8 +1,3 @@
di_initrd_img:=$(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
di_kernel_modules_dir=$(shell zcat $(di_initrd_img) | cpio --list 'lib/modules/*/kernel')
UBUNTU_INSTALLER_KERNEL_VERSION=$(strip $(patsubst lib/modules/%/kernel,%,$(di_kernel_modules_dir)))
$(BUILD_DIR)/mirror/ubuntu/createchroot.done:
mkdir -p $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot
mkdir -p $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/proc

View File

@ -17,11 +17,6 @@ fi
mkdir -p /repo/download/
cat >> /requirements.txt << EOF
linux-image-${UBUNTU_INSTALLER_KERNEL_VERSION}
linux-headers-${UBUNTU_INSTALLER_KERNEL_VERSION}
EOF
cat /requirements-deb.txt | while read pkg; do apt-get --print-uris --yes install $pkg | grep ^\' | cut -d\' -f2 >/downloads_$pkg.list; done
cat /downloads_*.list | sort | uniq > /repo/download/download_urls.list
rm /downloads_*.list

View File

@ -12,7 +12,3 @@ $(BUILD_DIR)/mirror/ubuntu/build.done: \
$(BUILD_DIR)/mirror/ubuntu/boot.done \
$(BUILD_DIR)/mirror/ubuntu/createchroot.done
$(ACTION.TOUCH)
# XXX: createchroot needs to know the d-i kernel version
$(BUILD_DIR)/mirror/ubuntu/createchroot.done: $(BUILD_DIR)/mirror/ubuntu/boot.done

View File

@ -511,6 +511,8 @@ libyaml-0-2
libzmq1
linux-firmware
linux-firmware-nonfree
linux-headers-3.11.0-18
linux-image-3.11.0-18
linux-libc-dev
linux-server
lksctp-tools