mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-09-29 06:32:23 +08:00
乾:init写错了
This commit is contained in:
parent
a41397b0a2
commit
18eb44c8c3
@ -1,8 +1,8 @@
|
|||||||
Package: cn.flamescion.bookworm-compatibility-mode
|
Package: cn.flamescion.bookworm-compatibility-mode
|
||||||
Version: 12.1.9
|
Version: 12.1.10
|
||||||
Section: misc
|
Section: misc
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Depends: bubblewrap
|
Depends: bubblewrap
|
||||||
Maintainer: shenmo <shenmo@spark-app.store>
|
Maintainer: shenmo <shenmo@spark-app.store>
|
||||||
Architecture: arm64
|
Architecture: amd64
|
||||||
Description: bwrap wrapper for install and running debs inside a bookworm container
|
Description: bwrap wrapper for install and running debs inside a bookworm container
|
||||||
|
@ -42,20 +42,20 @@ bwrap --dev-bind $chrootEnvPath/ / \
|
|||||||
--dev-bind /media /media \
|
--dev-bind /media /media \
|
||||||
--dev-bind /tmp /tmp \
|
--dev-bind /tmp /tmp \
|
||||||
--dev /dev \
|
--dev /dev \
|
||||||
--dev-bind /dev/dri /dev/dri \
|
--dev-bind-try /dev/dri /dev/dri \
|
||||||
--proc /proc \
|
--proc /proc \
|
||||||
--dev-bind /sys /sys \
|
--dev-bind /sys /sys \
|
||||||
--dev-bind /run /run \
|
--dev-bind /run /run \
|
||||||
--dev-bind-try /run/user/$uid/pulse /run/user/$uid/pulse \
|
--dev-bind-try /run/user/$uid/pulse /run/user/$uid/pulse \
|
||||||
--dev-bind / /host \
|
--dev-bind / /host \
|
||||||
--ro-bind /usr/share/themes /usr/local/share/themes \
|
--bind-try /usr/share/themes /usr/local/share/themes \
|
||||||
--ro-bind /usr/share/icons /usr/local/share/icons \
|
--bind-try /usr/share/icons /usr/local/share/icons \
|
||||||
--ro-bind /usr/share/fonts /usr/local/share/fonts \
|
--bind-try /usr/share/fonts /usr/local/share/fonts \
|
||||||
--hostname bookworm-compatibility-mode \
|
--hostname bookworm-compatibility-mode \
|
||||||
--unshare-uts \
|
--unshare-uts \
|
||||||
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
--dev-bind /etc/resolv.conf /etc/resolv.conf \
|
||||||
--dev-bind /home /home \
|
--dev-bind /home /home \
|
||||||
bash -c "${container_command}"
|
$@
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ sudo -u $(who | awk '{print $1}' | head -n 1) bwrap --dev-bind $chrootEnvPath/ /
|
|||||||
--dev-bind /media /media \
|
--dev-bind /media /media \
|
||||||
--dev-bind /tmp /tmp \
|
--dev-bind /tmp /tmp \
|
||||||
--dev /dev \
|
--dev /dev \
|
||||||
--dev-bind /dev/dri /dev/dri \
|
--dev-bind-try /dev/dri /dev/dri \
|
||||||
--proc /proc \
|
--proc /proc \
|
||||||
--dev-bind /sys /sys \
|
--dev-bind /sys /sys \
|
||||||
--dev-bind /run /run \
|
--dev-bind /run /run \
|
||||||
@ -216,3 +216,4 @@ sudo -u $(who | awk '{print $1}' | head -n 1) bwrap --dev-bind $chrootEnvPath/ /
|
|||||||
locale-gen
|
locale-gen
|
||||||
|
|
||||||
chown -R $(who | awk '{print $1}' | head -n 1) $chrootEnvPath
|
chown -R $(who | awk '{print $1}' | head -n 1) $chrootEnvPath
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user