Add kernel config support for 32bit.
This commit is contained in:
parent
f4f5393f64
commit
efb798385f
4
Makefile
4
Makefile
|
@ -7,13 +7,13 @@ VMDK_IMAGE = $(HOSTNAME).vmdk
|
||||||
XVA_IMAGE = $(HOSTNAME).xva
|
XVA_IMAGE = $(HOSTNAME).xva
|
||||||
LST_FILE = $(HOSTNAME)-packages.lst
|
LST_FILE = $(HOSTNAME)-packages.lst
|
||||||
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.xz
|
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.xz
|
||||||
KERNEL_CONFIG = kernel.config
|
|
||||||
VIRTIO = NO
|
VIRTIO = NO
|
||||||
TIMEZONE = UTC
|
TIMEZONE = UTC
|
||||||
DISK_SIZE = 6.0G
|
DISK_SIZE = 6.0G
|
||||||
SWAP_SIZE = 30
|
SWAP_SIZE = 30
|
||||||
SWAP_FILE = $(CHROOT)/.swap
|
SWAP_FILE = $(CHROOT)/.swap
|
||||||
ARCH = amd64
|
ARCH = amd64
|
||||||
|
KERNEL_CONFIG = kernel.config.$(ARCH)
|
||||||
MAKEOPTS = -j10 -l10
|
MAKEOPTS = -j10 -l10
|
||||||
PRUNE_CRITICAL = NO
|
PRUNE_CRITICAL = NO
|
||||||
REMOVE_PORTAGE_TREE = YES
|
REMOVE_PORTAGE_TREE = YES
|
||||||
|
@ -158,7 +158,7 @@ ifdef PKGDIR
|
||||||
echo PKGDIR="/var/portage/packages" >> $(CHROOT)/etc/portage/make.conf
|
echo PKGDIR="/var/portage/packages" >> $(CHROOT)/etc/portage/make.conf
|
||||||
endif
|
endif
|
||||||
echo ACCEPT_KEYWORDS=$(ACCEPT_KEYWORDS) >> $(CHROOT)/etc/portage/make.conf
|
echo ACCEPT_KEYWORDS=$(ACCEPT_KEYWORDS) >> $(CHROOT)/etc/portage/make.conf
|
||||||
[ -f "$(APPLIANCE)/make.conf" ] && cat "$(APPLIANCE)/make.conf" >> $(CHROOT)/etc/portage/make.conf
|
-[ -f "$(APPLIANCE)/make.conf" ] && cat "$(APPLIANCE)/make.conf" >> $(CHROOT)/etc/portage/make.conf
|
||||||
cp locale.gen $(CHROOT)/etc/locale.gen
|
cp locale.gen $(CHROOT)/etc/locale.gen
|
||||||
$(inroot) locale-gen
|
$(inroot) locale-gen
|
||||||
mkdir -p $(CHROOT)/etc/portage
|
mkdir -p $(CHROOT)/etc/portage
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue