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

Đang mở
#28 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
operating-systems

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
35

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của A21-devs/Virtual-Machine-Manager

Tất cả issue của A21-devs/Virtual-Machine-Manager

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.