4 266
modifications
Ligne 111 : | Ligne 111 : | ||
<pre>echo "smartmontools/bullseye-backports" > config/package-lists/mypackage-bpo.list.chroot</pre> | <pre>echo "smartmontools/bullseye-backports" > config/package-lists/mypackage-bpo.list.chroot</pre> | ||
== | ==Pinner un package depuis les dépots backports== | ||
Pendant le chroot uniquement : | |||
<pre> | <pre> | ||
cat >> config/archives/backports.pref.chroot << EOF | cat >> config/archives/backports.pref.chroot << EOF | ||
Package: smartmontools | Package: smartmontools | ||
Pin: release a= | Pin: release a=bullseye-backports | ||
Pin-Priority: 600 | Pin-Priority: 600 | ||
EOF | |||
</pre> | |||
Package: | Dans l'image définitive : | ||
Pin: release a= | <pre> | ||
cat >> config/archives/backports.pref.binary << EOF | |||
Package: smartmontools | |||
Pin: release a=bullseye-backports | |||
Pin-Priority: 600 | Pin-Priority: 600 | ||
EOF | EOF |