Added support for external customization

This commit is contained in:
2021-12-02 14:50:35 +01:00
parent c5d18ac19c
commit ac40aa2af8
5 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/make
Customization?=Default
.DEFAULT_GOAL := list
list: #Shows this list
@@ -6,6 +7,7 @@ list: #Shows this list
@grep '^[^#[:space:]].*:' Makefile | grep -v := | sed -e "s/:[^|]*#/: /g"
prep_buildenv: #Preperation for build (setting file permissons, etc)
cp -rf customization/${Customization}/* config
chmod 600 config/includes.chroot/etc/NetworkManager/system-connections/*.nmconnection
install_buildenv: # Install packages required to build the image
@@ -42,7 +44,9 @@ clean_env: #Clear all caches and archives
sudo TargetArch=i386 lb clean --all
make -f Makefile.extra clean
rm -f config/hooks/normal/0899-install-dkms-drivers.chroot
#Remove customization
rm -f config/bootloaders/grub-pc/splash.png config/bootloaders/isolinux/splash.png config/includes.chroot/etc/NetworkManager/system-connections/Template.nmconnection
rm -rf config/includes.chroot/opt/custom
clean_iso: #Removes genereated iso's
rm -f Custom-image-amd64.iso Custom-image-i386.iso
rm -f Custom-image-amd64.iso Custom-image-i386.iso

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 821 KiB

After

Width:  |  Height:  |  Size: 821 KiB