Skip to content

Commit

Permalink
[baseimage]: Build specific revision of initramfs-tools (#1957)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
  • Loading branch information
qiluo-msft authored and lguohan committed Aug 21, 2018
1 parent 4546905 commit c692d2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/initramfs-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ 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
git clone --branch v0.130 https://salsa.debian.org/kernel-team/initramfs-tools.git ./initramfs-tools

# Patch
pushd ./initramfs-tools
git checkout $(INITRAMFS_TOOLS_REVISION)
patch -p1 < ../loopback-file-system-support.patch

# Build the package
Expand Down

0 comments on commit c692d2d

Please sign in to comment.