Re: d-i, pulling in fdisk-udeb
On Tue, Sep 30, 2003 at 06:59:05PM +0100, Richard Hirst wrote:
> Hi,
> For hppa I need fdisk-udeb pulled in when d-i runs. parted cannot be
> used to partition for hppa because we need a partition for palo of type
> 'f0', and parted doesn't let you specify partition types (didn't last
> time I looked anyway). At the moment I have to specifically request
> that installer module in the "load installer modules" menu item.
>
> How should I make fdisk-udeb get pulled in automatically? I could make
> palo-installer depend on it, I guess, but that doesn't sound very
> logical as palo doesn't really care which partitioner is used provided
> it creates the right partitions.
In build/Makefile is this code:
|# Build the driver floppy image
|$(EXTRA_TARGETS) : %-stamp : $(TYPE)-get_udebs-stamp
| mkdir -p ${TEMP}/$*
| for file in $(shell grep --no-filename -v ^\# pkg-lists/$*/common \
| `if [ -f pkg-lists/$*/$(DEB_HOST_ARCH) ]; then echo pkg-lists/$*/$(DEB_HOST_ARCH); fi` \
| | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2\n)/g' ) ; do \
| cp $(EXTRAUDEBDIR)/$$file* ${TEMP}/$* ; \
| echo $$file >> ${TEMP}/$*/udeb_include; \
| done
| touch $@
It generates "udeb_include" from files under build/pkg-lists
I have not yet played with it, but that is where I would start
adding udebs.
Something to keep in mind:
ppcdetect will be replaced by archdetect.
>
> Richard
>
Geert Stappers
Reply to: