X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;fp=build-debian-toolbox;h=f1e7f8eab90f07c5c31f3ad3307d54c9b6873442;hp=13ee84dba55fd4fd8442a29aeff5bab68937259c;hb=739e7017ea68bf529515666feab89ae02e7c983e;hpb=6c6be615a01e1c9cf838a6288242ae3642ee5a05 diff --git a/build-debian-toolbox b/build-debian-toolbox index 13ee84d..f1e7f8e 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -17,6 +17,11 @@ echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io # otherwise installing systemd fails umount /var/log/journal +# enable sources +if [ -e /etc/apt/sources.list.d/debian.sources ]; then + sed -i "/^Types:/ s/deb$/deb deb-src/" /etc/apt/sources.list.d/debian.sources +fi + apt-get update apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin