From a26ef9e1700b3aa3885a7e0769a1672aa5f485dc Mon Sep 17 00:00:00 2001 From: khramshinr Date: Wed, 11 Sep 2024 20:31:49 +0600 Subject: T6684: new Debian package repo snapshot logic patch live-build to save information about all installed packages and their source repo, including temporary packages --- docker/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 40b2067d..2824bcb0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -177,6 +177,18 @@ RUN wget -O /tmp/open-vmdk-master.zip https://github.com/vmware/open-vmdk/archiv unzip -d /tmp/ /tmp/open-vmdk-master.zip && \ cd /tmp/open-vmdk-master/ && make && make install +# Packages need for build live-build +RUN apt-get update && apt-get install -y \ + cpio + +COPY patches/live-build/0001-save-package-info.patch /tmp/0001-save-package-info.patch + +RUN git clone https://salsa.debian.org/live-team/live-build.git /tmp/live-build && \ + cd /tmp/live-build && git checkout debian/1%20240810 && \ + patch -p1 < /tmp/0001-save-package-info.patch && \ + dch -n "Applying fix for save package info" && \ + dpkg-buildpackage -us -uc && \ + dpkg -i ../live-build*.deb # # live-build: building in docker fails with mounting /proc | /sys # -- cgit v1.2.3