godarch / darch

A tool for building and booting stateless and immutable images, bare metal.
https://godarch.com/
MIT License
832 stars 32 forks source link

Find local pacman repository during build #44

Closed phunni closed 4 years ago

phunni commented 4 years ago

I've given up trying to get aur packages to build as part of the process and am now trying to create a custom repo living in the file system - in my case it's in /var/lib/redfruit

Unfortunately, during the darch build that repo can't be found. It simply fails to find the directory. I'm guessing this is to do with it not being mounted in the image at that point in the build process.

It is on it's own partition, which is included in the fstab and mounted in the booted image, but it can't be found during image build. Is there a way around this?

phunni commented 4 years ago

Nevermind - I managed o set up a simple repo available on my local network via http.