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.
On Sun, Jan 5, 2014 at 11:38 PM, Cyril Brulebois <[email protected]> wrote:
> Ozi Traveller <[email protected]> (2014-01-05):
> > Sorry for so many questions. The host I'm build on is wheezy and I want
> to
> > make a wheezy debian-installer.
> >
> > The contents of sources.list.udeb are:
> >
> > # This file is automatically generated, edit sources.list.udeb.local
> > instead.
> > deb [trusted=yes] copy:/home/xxx/debian-installer/installer/build/
> > localudebs/
> > deb http://ftp.au.debian.org/debian unstable main/debian-installer
> >
> > I'm not sure where the unstable comes from. How can I force it to use
> > stable rather than unstable?
> >
> > To build I did:
> >
> > $ make reallyclean$ fakeroot make build_netboot
>
> You need to specify USE_UDEBS_FROM=wheezy (see debian/rules for the
> heuristics that are used in the regular Debian package build).
>
> Mraw,
> KiBi.
>