Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[RFC] including base xbps cache in the iso and setup scripts

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
shell

Hướng nghiên cứu

Bắt đầu bằng cách đọc installer.sh.in quanh danh sách ngoại lệ được liên kết và build-x86-images.sh để hiểu quy trình thiết lập ISO hiện tại. Theo dõi sự khác biệt giữa cài đặt cục bộ và cài đặt qua mạng, sau đó đánh giá cách các script thiết lập dùng chung và một bộ nhớ đệm xbps cơ sở có thể hỗ trợ cả hai hướng. Công việc được xem là hoàn tất khi có một kế hoạch thiết kế và triển khai cụ thể giải quyết kích thước bộ nhớ đệm, lựa chọn gói và tùy chỉnh ISO riêng biệt.

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

Mô tả

enhancement installer

Currently we are copying the live system to the target when Local source is selected. This means both systems have to be exactly the same and we maintain a list of exceptions for what should not be copied to the target system in the installer (xmirror, xtools-minimal, sudoers, some configs, etc.).

Ideally we would want the iso and the target system to be created by the same code, but also allow customizing only the iso with additional packages or files. This can done by:

  1. including xbps cache for the base system and letting local install be the same as network install, but use that cache instead of remote repositories
  2. move the iso setup logic from build-x86-images.sh to individual setup scripts. These setup scripts would be included in the iso and used both for creating the iso and installing the target system

Disadvantages:

  • people won't be able to install xfce without network anymore (because including whole xfce xbps cache would create a very big iso)
  • bigger isos (because we would have to include the base system xbps cache which is 340-350MB, current base isos have ~650MB, so this would increase their size to ~1GB, we could also have a way to create smaller netinstall isos without cache)

Advantages:

  • high flexibility - people can easily create their own iso spins just by copying one setup file
  • cleaner code (we won't need a list of exceptions to prevent some packages or files from getting installed)
  • less bugs because setting up the iso is done with the same code as the final system, but the setups are separate and the same code is used for both netinstall and local install (for example currently, the local install installs cryptsetup, lvm2 and mdadm to the local system for no reason, but netinstall doesn't)
  • ability to install the xfce system even from the base iso (when network is available)
Ngôn ngữ chính
Shell
Star
516
Fork
270
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 void-linux/void-mklive

Tất cả issue của void-linux/void-mklive

Issue tương tự

Thêm issue về Shell/Bash

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.