open.Yellow.os 専用の portable USB 作成ツールです(v1)。
python3 -m src.main create --target /dev/sdX --yes --force
python3 -m src.main backup --source /mnt/src-root --target /dev/sdY --yes --forcesrc/bin/oyo-portable-system-creator- open.Yellow.os
- ext4 root
- GPT + EFI/FAT32 + root/ext4
- 一般 Debian/Ubuntu
- 復元/修復
- LVM/mdraid/dm-crypt
python3 -m src.main create --help
python3 -m src.main backup --help
python3 -m unittest discover -s tests -v
python3 -m compileall srcsudo apt install build-essential debhelper dh-python python3 python3-pyqt6
dpkg-buildpackage -us -uc -bGitHub Actions により、v* 形式のタグを push すると自動で .deb をビルドし、GitHub Release に生成物を添付します。
まず debian/changelog の先頭エントリを次のリリース版に更新します。Git タグは Debian パッケージ版の upstream version に合わせて、たとえば 0.1.0-1 に対して v0.1.0 を使います。
debian/changelog は手動編集でも更新できますが、Debian では dch コマンドを使うのが一般的です。dch は devscripts パッケージに含まれます。
sudo apt install devscriptsDebian revision だけを 1 つ上げる場合:
dch -iupstream version を指定して新しいリリースを作る場合:
dch -v 0.1.0-1その後、生成された changelog エントリの本文を編集します。
oyo-portable-system-creator (0.1.0-1) unstable; urgency=medium
* Release notes here.
-- OYO Team <devnull@example.com> Thu, 20 Mar 2026 00:00:00 +0000
git add debian/changelog
git commit -m "Release 0.1.0"
git tag v0.1.0
git push origin v0.1.0実行されるワークフロー:
.github/workflows/build-release.ymldpkg-buildpackage -us -ucで Debian パッケージをビルド.deb,.changes,.buildinfo,.dsc,.tar.*を Release に添付