Skip to content

Commit c692d2d

Browse files
qiluo-msftlguohan
authored andcommitted
[baseimage]: Build specific revision of initramfs-tools (#1957)
Signed-off-by: Qi Luo <[email protected]>
1 parent 4546905 commit c692d2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/initramfs-tools/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ SHELL = /bin/bash
55
MAIN_TARGET = initramfs-tools_$(INITRAMFS_TOOLS_VERSION)_all.deb
66
DERIVED_TARGETS = initramfs-tools-core_$(INITRAMFS_TOOLS_VERSION)_all.deb
77

8+
INITRAMFS_TOOLS_REVISION = 18fc98e1b63b012f9bcf06ae3f5477872a5880c0
9+
810
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
911
# Obtaining the initramfs-tools
1012
rm -rf ./initramfs-tools
1113
git clone --branch v0.130 https://salsa.debian.org/kernel-team/initramfs-tools.git ./initramfs-tools
1214

1315
# Patch
1416
pushd ./initramfs-tools
17+
git checkout $(INITRAMFS_TOOLS_REVISION)
1518
patch -p1 < ../loopback-file-system-support.patch
1619

1720
# Build the package

0 commit comments

Comments
 (0)