X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=docs%2Fgrml-live.txt;h=7e56bbd92be3a4cefad2385311b8a8dccf8133c3;hp=111ff32a0fa0d76d99b2dec6b25b98c9c703bbc3;hb=25317dad266075062fbdf9fe85d26f3936a4cf17;hpb=9561b4bd44320c7761e9370025fd6c4c8144a5c4 diff --git a/docs/grml-live.txt b/docs/grml-live.txt index 111ff32..7e56bbd 100644 --- a/docs/grml-live.txt +++ b/docs/grml-live.txt @@ -718,6 +718,30 @@ And finally place the generated tarball in /etc/grml/fai/config/basefiles/ (note that it needs to be uppercase letters matching the class names, so: AMD64.tar.gz for amd64 and I386.tar.gz for i386). +[[localrepos]] +How to use your own local repository +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Let's assume you have Debian package(s) in your filesystem inside +`/home/foobar/local-packages` and want to include that in your grml-live build. +Make sure to create an according sources.list configuration file, e.g. using +your own class name `CUSTOM`: + + # cat > /etc/grml/fai/config/files/etc/apt/sources.list.d/local-packages.list/CUSTOM << EOF + deb file:///home/foobar/local-packages ./ + EOF + +Add the according MIRROR_DIRECTORY configuration to your grml-live configuration: + + # echo "MIRROR_DIRECTORY='/home/foobar/packages'" >> /etc/grml/grml-live.local + +Make sure the local directory looks like a mirror: + + % cd /home/foobar/packages && /usr/bin/dpkg-scanpackages . /dev/null > ./Packages + +Finally invoke grml-live with your class name (`CUSTOM` in this example) added +to the list of classes (see grml-live option `-c`). + [[download]] Download / install grml-live as a Debian package ------------------------------------------------