From 82e4ec4a0a2908b07f13fac5e273b89fd8278950 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Wed, 21 Oct 2020 10:29:07 +0500 Subject: [PATCH] Add verbose versions of apt --- images/linux/scripts/base/apt-mock.sh | 19 +++++++++++++++++++ images/linux/ubuntu1604.json | 5 +++++ images/linux/ubuntu1804.json | 5 +++++ images/linux/ubuntu2004.json | 5 +++++ 4 files changed, 34 insertions(+) create mode 100644 images/linux/scripts/base/apt-mock.sh diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh new file mode 100644 index 00000000..68fef1bf --- /dev/null +++ b/images/linux/scripts/base/apt-mock.sh @@ -0,0 +1,19 @@ +#!/bin/sh -x + +prefix=/usr/local/bin +mkdir -p $prefix + +for tool in apt apt-get apt-fast deb;do + real_tool=`which $tool` + cat >$prefix/$tool <