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

pre-install broken for bootstrapping new chroots

Đang mở
#443 2 bình luận 0 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
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
c
Lĩnh vực
cli

Hướng nghiên cứu

No files, tests, or entry points are named. Reproduce installation into an empty root directory and inspect how transaction scripts and the package database behave during bootstrapping. Define which pre-install behavior is expected for an empty package database, then add coverage for the chosen behavior.

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

Mô tả

bug

Since xbps was changed to not run scripts within the transaction, installing into a new empty root directory will fail when it tries to execute pre install scripts as nothing is unpacked yet.

Not sure what the best solution to that would:

  • Don't run pre-install when installing a package, only for updates.
  • Don't run scripts at all when bootstrapping with an empty pkgdb so that one has to use reconfigure.
  • Only skip pre-install when bootstrapping with an empty pkgdb.
Ngôn ngữ chính
C
Star
1.2k
Fork
152
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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

Issue tương tự

Thêm issue về C

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.