hamishcoleman / debian-minimal-builder

Tool for creating minimal installs of debian-based systems
GNU General Public License v2.0
21 stars 11 forks source link

Add local deb source #2

Closed benhylau closed 6 years ago

benhylau commented 6 years ago

DO NOT MERGE

This is to show what's necessary for multistrap to install from local Debian repository created by:

# apt install apache2
# mkdir -p /var/www/html/debian
# cp /vagrant/output/debian-packages/*.deb /var/www/html/debian/
# cd /var/www/html
# dpkg-scanpackages debian /dev/null | gzip -9c > debian/Packages.gz
hamishcoleman commented 6 years ago

As per https://github.com/hamishcoleman/debian-minimal-builder/blob/master/README#L54 , you should just override the default multistrap config in the local config dir tomesh-orange/debian-config No need to change the debian-minimal-builder.

benhylau commented 6 years ago

@hamishcoleman yes that is what I am doing :)