Skip to content
Snippets Groups Projects
Unverified Commit 22ade3ac authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

add a directory 'repo' that is used as a package source for mkuserland.sh

parent 0d905f44
No related branches found
No related tags found
No related merge requests found
Pipeline #824 passed
......@@ -12,7 +12,7 @@ build:
apt-get --no-install-recommends -y install arch-test binfmt-support qemu-user-static
arch-test arm64
apt-get --no-install-recommends -y install -t bookworm mmdebstrap genext2fs
apt-get --no-install-recommends -y install ca-certificates e2fsprogs pigz git mount parted
apt-get --no-install-recommends -y install ca-certificates e2fsprogs pigz git mount parted apt-utils
env --chdir=reform2-imx8mq ./mkimage.sh
pigz ./reform2-imx8mq/reform-system.img
pigz ./reform2-imx8mq/reform-rescue-system.img
......
......@@ -13,6 +13,9 @@ PKGSUTILS="busybox console-data console-setup cpio file flash-kernel gnupg gpgv
PKGSMISC="brightnessctl brightness-udev ca-certificates debian-archive-keyring dialog gpm ncurses-term locales bash-completion man-db cryptsetup-initramfs linux-image-arm64 linux-headers-arm64 reform-tools reform-handbook"
env --chdir=./repo apt-ftparchive packages . > ./repo/Packages
env --chdir=./repo apt-ftparchive -o APT::FTPArchive::Release::Codename=reform -o APT::FTPArchive::Release::Label=reform release . > ./repo/Release
mmdebstrap \
--architectures=arm64 \
--components=main \
......@@ -57,4 +60,4 @@ mmdebstrap \
--customize-hook='chroot "$1" sed -i "s/^root:[^:]\+:/root::/" /etc/shadow' \
--customize-hook='rm "$1"/etc/resolv.conf' \
--customize-hook='rm "$1"/var/lib/dbus/machine-id' ${comment#gets regenerated by dbus} \
unstable target-userland.tar http://deb.debian.org/debian "deb [trusted=yes] https://mntre.com/reform-debian-repo reform main"
unstable target-userland.tar http://deb.debian.org/debian "deb [trusted=yes] https://mntre.com/reform-debian-repo reform main" "deb [trusted=yes] copy://$(pwd)/repo ./"
All *.deb files placed into this directory will be considered for installation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment