[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: How to rebuild d-i or initrd?



It seems to be using the correct suite now "wheezy", but all the packages it can't find seem to be from unstable, unless I'm wrong here.


xxxx@debian-7:~/debian-installer/installer/build$ make reallyclean

xxxx@debian-7:~/debian-installer/installer/build$ make build_netboot USE_UDEBS_FROM=wheezy
WARNING: mirror 'http://dl.google.com/linux/chrome/deb' appears to be invalid; skipping
Using generated sources.list.udeb:
   deb [trusted=yes] copy:/home/simon/debian-installer/installer/build/ localudebs/
   deb http://ftp.au.debian.org/debian wheezy main/debian-installer
make[2]: `sources.list.udeb' is up to date.
*
* Warning: Building with localudebs.
* This build should not be used for official purposes.
*
Ign copy: localudebs/ Release.gpg
Ign copy: localudebs/ Release        
Get:1 copy: localudebs/ Packages [469 B]
Ign copy: localudebs/ Translation-en_AU                       
Ign copy: localudebs/ Translation-en 
Get:2 http://ftp.au.debian.org wheezy Release.gpg [1,672 B] 
Get:3 http://ftp.au.debian.org wheezy Release [168 kB]
Get:4 http://ftp.au.debian.org wheezy/main/debian-installer amd64 Packages [54.0 kB]
Fetched 224 kB in 0s (245 kB/s)    
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
dh_testroot
# Ensure that sources.list.udeb has trusted=yes.
# Only needed for a while to ensure all build systems get the new
# version of the file, then can be removed.
if ! grep -q -L 'trusted=yes' sources.list.udeb; then \
rm -f sources.list.udeb; \
make sources.list.udeb; \
fi
get-packages udeb acpi-modules-3.12-1-amd64-di anna archdetect bogl-bterm-udeb brltty-udeb busybox-udeb cdebconf-newt-terminal cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb choose-mirror choose-mirror-bin console-setup-pc-ekmap console-setup-udeb debian-archive-keyring-udeb di-utils di-utils-reboot di-utils-shell di-utils-terminfo download-installer env-preseed ethdetect fat-modules-3.12-1-amd64-di fb-modules-3.12-1-amd64-di file-preseed gpgv-udeb hw-detect hyperv-modules-3.12-1-amd64-di initrd-preseed input-modules-3.12-1-amd64-di installation-locale kbd-udeb kernel-image-3.12-1-amd64-di libblkid1-udeb libcrypto1.0.0-udeb libdebconfclient0-udeb libdebian-installer4-udeb libfribidi0-udeb libiw30-udeb libkmod2-udeb libnl-3-200-udeb libnl-genl-3-200-udeb libnss-dns-udeb libnss-files-udeb libtextwrap1-udeb libuuid1-udeb localechooser lowmemcheck main-menu media-retriever mountmedia nano-udeb ndisc6-udeb net-retriever netcfg network-preseed nic-modules-3.12-1-amd64-di nic-pcmcia-modules-3.12-1-amd64-di nic-usb-modules-3.12-1-amd64-di nic-wireless-modules-3.12-1-amd64-di pciutils-udeb pcmcia-modules-3.12-1-amd64-di pcmciautils-udeb preseed-common rdnssd-udeb rescue-check rootskel save-logs udev-udeb udpkg usb-modules-3.12-1-amd64-di usb-storage-modules-3.12-1-amd64-di util-linux-udeb virtio-modules-3.12-1-amd64-di wide-dhcpv6-client-udeb wpasupplicant-udeb zlib1g-udeb 
make[3]: `sources.list.udeb' is up to date.
*
* Warning: Building with localudebs.
* This build should not be used for official purposes.
*
Ign copy: localudebs/ Release.gpg
Ign copy: localudebs/ Release        
Ign copy: localudebs/ Packages/DiffIndex
Get:1 copy: localudebs/ Packages [469 B]
Ign copy: localudebs/ Translation-en_AU                       
Ign copy: localudebs/ Translation-en 
Hit http://ftp.au.debian.org wheezy Release.gpg             
Hit http://ftp.au.debian.org wheezy Release
Hit http://ftp.au.debian.org wheezy/main/debian-installer amd64 Packages
Fetched 469 B in 0s (1,753 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Need to download: acpi-modules-3.12-1-amd64-di anna archdetect bogl-bterm-udeb brltty-udeb busybox-udeb cdebconf-newt-terminal cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb choose-mirror choose-mirror-bin console-setup-pc-ekmap console-setup-udeb debian-archive-keyring-udeb di-utils di-utils-reboot di-utils-shell di-utils-terminfo download-installer env-preseed ethdetect fat-modules-3.12-1-amd64-di fb-modules-3.12-1-amd64-di file-preseed gpgv-udeb hw-detect hyperv-modules-3.12-1-amd64-di initrd-preseed input-modules-3.12-1-amd64-di installation-locale kbd-udeb kernel-image-3.12-1-amd64-di libblkid1-udeb libcrypto1.0.0-udeb libdebconfclient0-udeb libdebian-installer4-udeb libfribidi0-udeb libiw30-udeb libkmod2-udeb libnl-3-200-udeb libnl-genl-3-200-udeb libnss-dns-udeb libnss-files-udeb libtextwrap1-udeb libuuid1-udeb localechooser lowmemcheck main-menu media-retriever mountmedia nano-udeb ndisc6-udeb net-retriever netcfg network-preseed nic-modules-3.12-1-amd64-di nic-pcmcia-modules-3.12-1-amd64-di nic-usb-modules-3.12-1-amd64-di nic-wireless-modules-3.12-1-amd64-di pciutils-udeb pcmcia-modules-3.12-1-amd64-di pcmciautils-udeb preseed-common rdnssd-udeb rescue-check rootskel save-logs udev-udeb udpkg usb-modules-3.12-1-amd64-di usb-storage-modules-3.12-1-amd64-di util-linux-udeb virtio-modules-3.12-1-amd64-di wide-dhcpv6-client-udeb wpasupplicant-udeb zlib1g-udeb
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package acpi-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'acpi-modules-3.12-1-amd64-di'
E: Unable to locate package fat-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'fat-modules-3.12-1-amd64-di'
E: Unable to locate package fb-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'fb-modules-3.12-1-amd64-di'
E: Unable to locate package hyperv-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'hyperv-modules-3.12-1-amd64-di'
E: Unable to locate package input-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'input-modules-3.12-1-amd64-di'
E: Unable to locate package kernel-image-3.12-1-amd64-di
E: Couldn't find any package by regex 'kernel-image-3.12-1-amd64-di'
E: Unable to locate package nic-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'nic-modules-3.12-1-amd64-di'
E: Unable to locate package nic-pcmcia-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'nic-pcmcia-modules-3.12-1-amd64-di'
E: Unable to locate package nic-usb-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'nic-usb-modules-3.12-1-amd64-di'
E: Unable to locate package nic-wireless-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'nic-wireless-modules-3.12-1-amd64-di'
E: Unable to locate package pcmcia-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'pcmcia-modules-3.12-1-amd64-di'
E: Unable to locate package usb-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'usb-modules-3.12-1-amd64-di'
E: Unable to locate package usb-storage-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'usb-storage-modules-3.12-1-amd64-di'
E: Unable to locate package virtio-modules-3.12-1-amd64-di
E: Couldn't find any package by regex 'virtio-modules-3.12-1-amd64-di'
make[2]: *** [stamps/get_udebs-netboot-stamp] Error 100
make[1]: *** [_build] Error 2
make: *** [build_netboot] Error 2



On Mon, Jan 6, 2014 at 8:36 AM, Cyril Brulebois <kibi@debian.org> wrote:
Ozi Traveller <ozitraveller@gmail.com> (2014-01-06):
> I changed the debian/rules file as follows:
>
> #! /usr/bin/make -f
>
> ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
> VERSION=$(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' '
> -f 2)
> DATE=$(shell echo $(VERSION) | cut -d '.' -f 1)
> SUITE=$(shell LC_ALL=C dpkg-parsechangelog | grep ^Distribution: | cut -d '
> ' -f 2)
> # ifeq (${SUITE},UNRELEASED)
> # USE_UDEBS_FROM=unstable
> # TRANSSTATUS=
> # BOOTMENU_BEEP=n
> # else
> # USE_UDEBS_FROM=jessie
> USE_UDEBS_FROM=wheezy
> USE_PROPOSED_UPDATES=0
> TRANSSTATUS=translation-status
> BOOTMENU_BEEP=y
> # endif
>
> however sources.list.udeb still has unstable.

Err, I mentioned debian/rules so that you see how a regular debian build
is supposed to work. dpkg-buildpackage and friends call ./debian/rules,
which runs make in build/ with appropriate variables set. If you're only
changing debian/rules and then manually running make under build/,
nothing is going to change.

So either tweak debian/rules and use dpkg-buildpackage, or use “make
USE_UDEBS_FROM=wheezy” under build/, after having removed generated
files (that includes sources.list.udeb).

Mraw,
KiBi.


Reply to: