#author("2023-12-19T17:23:34+09:00","default:ichinomoto","ichinomoto")
#author("2024-01-15T17:26:34+09:00","default:ichinomoto","ichinomoto")
[[tmp]]

**debootstrap [#c8e82d08]
キー期限切れの環境を作る場合
 debootstrap --no-check-gpg --variant buildd jessie build_jessie http://jp.ftp.debian.org/debian/

**2023/12/19時点の使い方 [#q3f71b44]
qemu-debootstrapは非推奨になっている。
 debootstrap --foreign
で作成する。~
手動でsecond-stageを実行しないとユーザーが作られない

 mkdir stretch_armhf
 sudo debootstrap --no-check-gpg --arch=armhf --foreign --variant=buildd stretch stretch_armhf https://archive.debian.org/debian/
 sudo chroot stretch_armhf
 /debootstrap/debootstrap --second-stage
 exit
 sudo chroot jessie_arm

**wslでchrootの実行に失敗する場合以下をチェックする [#l69c27f6]
 sudo update-binfmts --display | grep aarch64
ここでdisableと出ている場合は以下を実行する
 sudo update-binfmts --enable qemu-arm64

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS