Commit Graph

6 Commits

Author SHA1 Message Date
Cyril Brulebois
1c9b6b2bef Assign pirogue.local and pirogue to 127.0.1.1
It's pretty standard to have 127.0.0.1 match localhost while the actual
machine's name (FQDN and hostname) matches 127.0.1.1 instead.

We would be happy to be told if something similar exists for IPv6!
2024-07-20 14:06:47 +02:00
Cyril Brulebois
0dd2b1a2c9 Deduplicate /etc/hosts pirogue entries. 2024-07-20 14:06:47 +02:00
Cyril Brulebois
9ede6bb93f Turn the original hook into a toaster recipe. 2024-07-20 14:06:45 +02:00
Cyril Brulebois
c5254d41b4 Import original pirogue-os hook.
This needs to be run within the target system (within a chroot).
2024-07-20 07:40:26 +02:00
Cyril Brulebois
2bb88da3e5 Import toaster 0.1
This is a tiny shell wrapper developer by DEBAMAX for a customer, making
it possible to tweak amd64 and arm64 system images: they are duplicated
first, their partitions are mounted, and the contents can be modified at
will.

This makes it possible to move fast, as the original images don't need
to be built again to test modifications. For the PiRogue Tool Suite
project, that means we can focus on modifying Debian-provided images
instead of building them from scratch.

At the moment, support for partition tables is pretty basic, the second
partition is the root filesystem, the first partition might be mounted
on /boot/firmware (arm64 images for Raspberry Pi) or on /boot/efi (amd64
images for 64-bit PCs).

If we end up using this tool for Cloud images, at least that part will
require some modifications.
2024-07-20 07:35:58 +02:00
Cyril Brulebois
958084c469 Initial commit. 2024-07-20 07:22:44 +02:00