From c692d2dcd0e7417a1d4cdf77350ac5f82de4519d Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Tue, 21 Aug 2018 00:00:46 -0700 Subject: [PATCH] [baseimage]: Build specific revision of initramfs-tools (#1957) Signed-off-by: Qi Luo --- src/initramfs-tools/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initramfs-tools/Makefile b/src/initramfs-tools/Makefile index c92d1b5483..0b08e4aa43 100644 --- a/src/initramfs-tools/Makefile +++ b/src/initramfs-tools/Makefile @@ -5,6 +5,8 @@ SHELL = /bin/bash MAIN_TARGET = initramfs-tools_$(INITRAMFS_TOOLS_VERSION)_all.deb DERIVED_TARGETS = initramfs-tools-core_$(INITRAMFS_TOOLS_VERSION)_all.deb +INITRAMFS_TOOLS_REVISION = 18fc98e1b63b012f9bcf06ae3f5477872a5880c0 + $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : # Obtaining the initramfs-tools rm -rf ./initramfs-tools @@ -12,6 +14,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : # Patch pushd ./initramfs-tools + git checkout $(INITRAMFS_TOOLS_REVISION) patch -p1 < ../loopback-file-system-support.patch # Build the package