Ai
1 Star 0 Fork 0

王英伟/livecd-rootfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
minimize-manual 419 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# Minimize the number of manually installed packages in the image
# Finds all packages which could be marked as automatically installed and marks
# them as such
set -e
chroot=$1
auto_packages=$(/usr/share/livecd-rootfs/auto-markable-pkgs $chroot)
if [ -n "$auto_packages" ]; then
chroot chroot apt-mark auto $auto_packages
fi
[ -z "$(/usr/share/livecd-rootfs/auto-markable-pkgs $chroot 2> /dev/null)" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Dr_tree/livecd-rootfs.git
git@gitee.com:Dr_tree/livecd-rootfs.git
Dr_tree
livecd-rootfs
livecd-rootfs
jammy

搜索帮助