Conversation
Notices
-
vmdb2 で #Devuan イメージ作れないかなと思ったけど debootstrap scripts が見当たらないな
Exec: ['qemu-debootstrap', '--arch', 'arm64', '--variant', '-', '--components', 'main,contrib,non-free', 'beowulf', '/tmp/tmp2dlu1t8d', 'http://deb.devuan.org/merged']
ERROR: Command failed: qemu-debootstrap --arch arm64 --variant - --components main,contrib,non-free beowulf /tmp/tmp2dlu1t8d http://deb.devuan.org/merged
b'E: No such script: /usr/share/debootstrap/scripts/beowulf\n'
$ ls /usr/share/debootstrap/scripts/
aequorea breezy dapper etch hoary jessie-kfreebsd karmic oldoldstable quantal saucy testing warty woody.buildd
artful bullseye dasyatis etch-m68k hoary.buildd kali lenny oldstable raring sid trusty warty.buildd xenial
bartholomea buster debian-common feisty intrepid kali-dev lucid oneiric sarge squeeze unstable wheezy yakkety
bionic chromodoris disco gutsy jaunty kali-last-snapshot maverick potato sarge.buildd stable utopic wily zesty
bookworm cosmic edgy hardy jessie kali-rolling natty precise sarge.fakechroot stretch vivid woody
-
これ書き換えればいいか
$ cat /usr/share/debootstrap/scripts/buster
mirror_style release
download_style apt
finddebs_style from-indices
variants - buildd fakechroot minbase
keyring /usr/share/keyrings/debian-archive-keyring.gpg
# include common settings
if [ -e "$DEBOOTSTRAP_DIR/scripts/debian-common" ]; then
. "$DEBOOTSTRAP_DIR/scripts/debian-common"
elif [ -e /debootstrap/debian-common ]; then
. /debootstrap/debian-common
elif [ -e "$DEBOOTSTRAP_DIR/debian-common" ]; then
. "$DEBOOTSTRAP_DIR/debian-common"
else
error 1 NOCOMMON "File not found: debian-common"
fi