Re: Can I prevent Pacman from running hooks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 13/10/2018 13:12, Tobias Hunger via arch-general wrote:
> I run a immutable and stateless setup. So I can not actually update systems
> (they are immutable after all). So I end up having my CI generate images
> for my systems every couple of hours. Those will then replace the images I
> run eventually, getting me to a new updated system state.

As a slight side-step, might it be possible to generate the images in a
ramdisk/tmpfs? That should remove disk I/O as a bottleneck.

Another option, given you know the expected end state, could be to
bypass pacman and extract the package file content into place directly
(e.g. with tar), then run whatever hooks you want afterwards. Yes, you'd
lose package management within the images but that doesn't matter with
an immutable image. (Though, there may be side-effects I haven't
considered here.)

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux