mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-13 02:25:58 +08:00
更改主机名
This commit is contained in:
parent
60ef6a9893
commit
6322718144
src
DEBIAN
opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin
@ -1,5 +1,5 @@
|
||||
Package: cn.flamescion.bookworm-compatibility-mode
|
||||
Version: 12.3.5
|
||||
Version: 12.3.6
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Depends: bubblewrap,flatpak,zenity
|
||||
|
@ -67,6 +67,7 @@ else
|
||||
for file in "$DPKG_INFO_PATH"/*.list; do
|
||||
if grep -q "$IN_CONTAINER_PATH" "$file"; then
|
||||
PKGNAME_GUESS=$(basename "$file" .list | cut -d':' -f1)
|
||||
echo "Get pkgname $PKGNAME_GUESS, uninstalling..."
|
||||
bookworm-run apt autopurge $PKGNAME_GUESS -y
|
||||
ret=$?
|
||||
if [ "$ret" = "0" ];then
|
||||
|
@ -50,7 +50,7 @@ bwrap --dev-bind $chrootEnvPath/ / \
|
||||
--bind-try /usr/share/themes /usr/local/share/themes \
|
||||
--bind-try /usr/share/icons /usr/local/share/icons \
|
||||
--bind-try /usr/share/fonts /usr/local/share/fonts \
|
||||
--hostname bookworm-compatibility-mode \
|
||||
--hostname Amber-CE-Bookworm \
|
||||
--unshare-uts \
|
||||
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
||||
--dev-bind /home /home \
|
||||
@ -222,7 +222,7 @@ sudo -u $(who | awk '{print $1}' | head -n 1) bwrap --dev-bind $chrootEnvPath/ /
|
||||
--ro-bind /usr/share/themes /usr/local/share/themes \
|
||||
--ro-bind /usr/share/icons /usr/local/share/icons \
|
||||
--ro-bind /usr/share/fonts /usr/local/share/fonts \
|
||||
--hostname bookworm-compatibility-mode \
|
||||
--hostname Amber-CE-Bookworm \
|
||||
--unshare-uts \
|
||||
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
||||
--dev-bind /home /home \
|
||||
|
@ -68,7 +68,7 @@ bwrap --dev-bind / / \
|
||||
--ro-bind /usr/share/themes /usr/local/share/themes \
|
||||
--ro-bind /usr/share/icons /usr/share/icons \
|
||||
--ro-bind /usr/share/fonts /usr/local/share/fonts \
|
||||
--hostname bookworm-compatibility-mode \
|
||||
--hostname Amber-CE-Bookworm \
|
||||
--unshare-uts \
|
||||
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
||||
--cap-add CAP_SYS_ADMIN \
|
||||
|
@ -67,7 +67,7 @@ bwrap --dev-bind / / \
|
||||
--ro-bind /usr/share/themes /usr/local/share/themes \
|
||||
--ro-bind /usr/share/icons /usr/local/share/icons \
|
||||
--ro-bind /usr/share/fonts /usr/local/share/fonts \
|
||||
--hostname bookworm-compatibility-mode \
|
||||
--hostname Amber-CE-Bookworm \
|
||||
--unshare-uts \
|
||||
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
||||
--cap-add CAP_SYS_ADMIN \
|
||||
|
Loading…
x
Reference in New Issue
Block a user