From 5cc9d4f6b37ec18de8856c352b3022f79f5aa4d3 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Mon, 24 Feb 2020 19:37:41 +0100 Subject: [PATCH] doc: custome.md add examples --- doc/custom.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/custom.md b/doc/custom.md index 42b95bf..19a2c72 100644 --- a/doc/custom.md +++ b/doc/custom.md @@ -68,6 +68,12 @@ Files to copy to the resulting live system (used include modified configuration Scripts and data that do not belong to an existing Debian package _should_ be distributed as [custom packages](http://wiki.debian.org/Packaging), and not stashed directly into the directory. Debian packages can also handle custom configuration files (see [`man dpkg-divert`](https://manpages.debian.org/buster/dpkg/dpkg-divert.1.en.html)). +For example, to add custom files/unpackaged programs inside your live system: + +```bash +git clone https://gitlab.com/nodiscc/toolbox config/includes.chroot/opt/toolbox +git clone https://gitlab.com/nodiscc/dlc config/includes.chroot/opt/dlc +``` ### config/package-lists/ @@ -93,6 +99,13 @@ Reasons to NOT use this: - Packages placed here are not GPG-signed. Ensure you download/build the package over a secure channel. +For example, to add a third-party package to your system: + +```bash +mkdir -pv config/packages.chroot +wget -N -nv --show-progress -P config/packages.chroot/ https://download.opensuse.org/repositories/home:/strycore/Debian_9.0/amd64/lutris_0.5.2.2_amd64.deb +``` + ### config/includes.installer/ `preseed.cfg` is used to preconfigure the _installer_ using [preseeding](https://wiki.debian.org/Preseed).