[arch-projects] [devtools] [PATCH v3] makechrootpkg: Be recursive when deleting btrfs subvolumes.

2017-02-17 Thread Luke Shumaker
From: Luke Shumaker Motivation: tmpfiles.d(5) has directives to create btrfs subvolumes. This means that systemd-tmpfiles (which may be called by an ALPM hook) might create subvolumes. For instance, systemd's systemd-nspawn.conf creates a subvolume at

Re: [arch-projects] [devtools] [PATCH] makechrootpkg: Be recursive when deleting btrfs subvolumes.

2017-02-17 Thread Luke Shumaker
On Thu, 16 Feb 2017 06:10:08 -0500, Bruno Pagani via arch-projects wrote: > > Call me a simp, but can't we just maintain a list of subvolumes to > > delete? For now it's just one item. > > I think this is the most reasonable thing to do right now, and keep it > that way as long as the item list

Re: [arch-projects] [devtools] [PATCH v2] makechrootpkg: Be recursive when deleting btrfs subvolumes.

2017-02-17 Thread Luke Shumaker
I'm embarrased that I sent this iteration of the patch. I was just eager to make the suggested changes. I didn't even test it. I have a test suite for this purpose; why the hell didn't I run it before sending? > + # sequence of "key value key value...". Unfortunately, both There should