From 3a273df86068b24c7572e8a8e4ee2925dc9afba4 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Fri, 18 Mar 2022 13:54:26 -0700 Subject: [PATCH] Change ln syntax to use chroot Signed-off-by: Saikrishna Arcot --- build_debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_debian.sh b/build_debian.sh index 011553d77e9a..1e1311a55393 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -116,7 +116,7 @@ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y upgrade echo '[INFO] Install and setup eatmydata' sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install eatmydata -sudo ln -s /usr/bin/eatmydata $FILESYSTEM_ROOT/usr/local/bin/dpkg +sudo LANG=C chroot $FILESYSTEM_ROOT ln -s /usr/bin/eatmydata /usr/local/bin/dpkg echo 'Dir::Bin::dpkg "/usr/local/bin/dpkg";' | sudo tee $FILESYSTEM_ROOT/etc/apt/apt.conf.d/00image-install-eatmydata > /dev/null echo '[INFO] Install packages for building image'