osbuilder: Restore Debian as a rootfs

Restore Debian as a rootfs.
1. revert of #3154, but some change
2. update debian version to 10.11
3. update  `libstdc++-6-dev` to `libstdc++-8-dev`
4.  changes discarded in QAT are not restored

Fixes: #3372
Signed-off-by: zhaojizhuang <571130360@qq.com>
This commit is contained in:
zhaojizhuang
2022-01-04 11:42:46 +08:00
parent 978b13c9e8
commit 3093f93a6f
8 changed files with 107 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ setup()
case "$distro" in
centos|rhel) $chronic sudo -E yum -y install "$pkg" ;;
ubuntu) $chronic sudo -E apt-get --no-install-recommends install -y "$pkg" ;;
debian|ubuntu) $chronic sudo -E apt-get --no-install-recommends install -y "$pkg" ;;
fedora) $chronic sudo -E dnf -y install "$pkg" ;;
opensuse|sles) $chronic sudo -E zypper -y install "$pkg" ;;
*) die "do not know how to install command $pkg' for distro '$distro'" ;;