From: Sadoon Albader Date: Fri, 25 Aug 2023 15:39:20 +0000 (+0300) Subject: make the script actually work with debootstrap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=599f5174c278535439d67138dd759373b9ff126d;p=dev-env-setup.git make the script actually work with debootstrap --- diff --git a/create-deb-repo b/create-deb-repo old mode 100644 new mode 100755 index 476daa7..b567b76 --- a/create-deb-repo +++ b/create-deb-repo @@ -6,8 +6,24 @@ REPODIR=~/.local/src/bookworm-sffs/repo/ cd $REPODIR -# Not implementing secure deb repos yet, need a trusted key for libre-soc +mkdir debian +mkdir dists + +tee aptftp.conf << EOF +APT::FTPArchive::Release { + Origin "Debian"; + Label "Debian"; + Suite "stable"; + Codename "bookworm"; + Architectures "ppc64el"; + Components "main"; + Description "SFFS Debian packages"; +}; +EOF -apt-ftparchive packages . > Packages -apt-ftparchive release . > Release +# Not implementing secure deb repos yet, need a trusted key for libre-soc + +dpkg-scanpackages . /dev/null | gzip -9c >debian/Packages.gz +apt-ftparchive generate -c=aptftp.conf aptgenerate.conf +apt-ftparchive release -c=aptftp.conf dists/bookworm/ >dists/bookworm/Release