Guest setup: support non-Debian guests and btrfs swap files

オープン
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, shell

調査の方向性

Start in setup-save-state.sh: find the distro check that requires apt-get and update-initramfs, and the swap-file block that uses filefrag to compute the resume offset. The issue names btrfs inspect-internal map-swapfile -r and chattr +C as the btrfs path, but the scope is open, so pick one item (for example btrfs swap) first. Done means that path produces the right offset and unsupported guests still exit with a clear error.

索引モデルが issue の本文から書いたものです。

説明

enhancement

setup-save-state.sh stops on anything without apt-get/update-initramfs, and only makes a swap file on ext4 (filefrag gives the wrong resume offset on btrfs).

Worth covering:

  • btrfs: btrfs inspect-internal map-swapfile -r /swapfile gives the offset, and the file needs chattr +C before it's filled
  • dracut-based distros (Fedora, Arch with dracut): resume goes into the dracut config instead of initramfs-tools
  • systemd-boot instead of GRUB

Fine to do these one at a time. The script should keep failing loudly for anything it doesn't handle.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

A21-devs/Virtual-Machine-Manager のほかの issue

A21-devs/Virtual-Machine-Manager の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。