random-archer / mkinitcpio-systemd-tool

Provisioning tool for systemd in initramfs (systemd-tool)
https://www.archlinux.org/packages/community/any/mkinitcpio-systemd-tool/
Other
113 stars 27 forks source link

ci: repo install #40

Closed Andrei-Pozolotin closed 4 years ago

Andrei-Pozolotin commented 4 years ago

replace manual-setup.sh with better approximation to pacman -S

Andrei-Pozolotin commented 4 years ago

@dvzrv David:

I think you are an expert on this, so please help:

PROBLEM:

QUESTION:

Andrei-Pozolotin commented 4 years ago

@dvzrv David: please respond

dvzrv commented 4 years ago

Hey! Sorry, I got sidetracked by other things.

I'm not super in the picture in regards to the test framework that you've established tbh. The base-devel group is ~ 225Mb in size (24 packages), so in theory this really is no problem.

It really depends on what you're striving for: If you want to establish proper reproducibility you will want to

This would be not much different from how we're building the package using devtools: It creates a pristine nspawn container with all required dependencies and then creates the package in there. Afterwards the package is installed into the same environment to check for consistency.

You're going one step further (without building a package) and reboot to make sure that remote console is accessible, IIUC.

Andrei-Pozolotin commented 4 years ago

Hey! Sorry, I got sidetracked by other things.

  1. sure, I understand, no problem

  2. thank you for your note, it helps: