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] makechrootpkg: Be recursive when deleting btrfs subvolumes.

2017-02-16 Thread Bruno Pagani via arch-projects
Le 16/02/2017 à 08:54, Bartłomiej Piotrowski a écrit : > On 2017-02-10 10:16, Jan Alexander Steffens via arch-projects wrote: >> The chroot management is getting so complex I wonder if we're not better >> off killing the btrfs support (it doesn't buy us much over rsync since >> the base (root)

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

2017-02-15 Thread Bartłomiej Piotrowski
On 2017-02-10 10:16, Jan Alexander Steffens via arch-projects wrote: > The chroot management is getting so complex I wonder if we're not better > off killing the btrfs support (it doesn't buy us much over rsync since > the base (root) chroot tends to be small) or using someone's else > container

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

2017-02-10 Thread Luke Shumaker
On Fri, 10 Feb 2017 09:57:32 -0500, Dave Reisner wrote: > > + LC_ALL=C btrfs subvolume show "$1" | sed -n 's/^\tSubvolume ID:\s*//p' > > This looks like you're parsing human readable output to get the subvol > ID. Is this really the only way to get this information? As far as I can tell, yes.

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

2017-02-10 Thread Dave Reisner
On Fri, Feb 10, 2017 at 03:46:08AM -0500, luke...@lukeshu.com wrote: > From: Luke Shumaker > > Motivation: > > When installing the necessaryssary dependencies in the chroot, the > ALPM hooks run; and if 'systemd' is a dependency, then one of the > hooks is to run

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

2017-02-10 Thread Jan Alexander Steffens via arch-projects
On Fri, Feb 10, 2017 at 9:46 AM wrote: > From: Luke Shumaker > > Motivation: > > When installing the necessaryssary dependencies in the chroot, the > ALPM hooks run; and if 'systemd' is a dependency, then one of the > hooks is to run

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

2017-02-10 Thread lukeshu
From: Luke Shumaker Motivation: When installing the necessaryssary dependencies in the chroot, the ALPM hooks run; and if 'systemd' is a dependency, then one of the hooks is to run systemd-tmpfiles. There are several tmpfiles.d(5) commands that instruct it to