-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Currently I use a pre-build hook to add some patches to the builder. One of the most annoying ones is that they removed qemu-agent for some reason recently (not sure if it's been fixed in the latest builder), so I have a build environment that looks like this:
vyos_bld@debbuild:~$ ls
50-qemu-agent.chroot 50-zerotier.chroot prehook.sh vyos-jenkins
vyos_bld@debbuild:~$ cat prehook.sh
#!/bin/bash
#
mkdir -p ~/vyos-jenkins/patches
cp ~/50* ~/vyos-jenkins/patches/
chmod -R 755 ~/vyos-jenkins/patches
cp ~/vyos-jenkins/patches/* data/live-build-config/hooks/live/
ls -al ~/vyos-jenkins/patches/* data/live-build-config/hooks/live/
vyos_bld@debbuild:~$
Do you think it's worthwhile updating image_builder.py to sync anything found in patches into live-build-config? Obviously it would have to be a bit smarter than just a copy, because a patch might want to add sources or other things, not just hooks.
I'm happy to spend the time if you think it would be useful. For example, zerotier 1.14.1 is now GPL'ed and can be included without violating any licences.
Metadata
Metadata
Assignees
Labels
No labels