Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
2a9b30ed35
First of all, it ran `is_btrfs "$chrootdir"` to decide if it was on btrfs, but $chrootdir wasn't defined locally; it just happens to work because $chrootdir was defined in main(). (I noticed this because in Parabola, it is called differently, so $chrootdir was empty). So I was tempted to just change it to `is_btrfs "$copydir"`, but if $copydir is just a regular directory on a btrfs filesystem, then it It would leave much of $copydir intact. What we really care about is if $copydir is a btrfs subvolume; which we can check by combining the is_btrfs check with inspecting the inum of the directory. I put this combined check in lib/archroot.sh:is_subvolume. https://lists.archlinux.org/pipermail/arch-projects/2013-September/003901.html |
||
---|---|---|
lib | ||
.gitignore | ||
Makefile | ||
arch-nspawn.in | ||
archbuild.in | ||
archco.in | ||
archrelease.in | ||
archrm.in | ||
bash_completion.in | ||
checkpkg.in | ||
commitpkg.in | ||
crossrepomove.in | ||
find-libdeps.in | ||
finddeps.in | ||
lddd.in | ||
makechrootpkg.in | ||
makepkg-i686.conf | ||
makepkg-x86_64.conf | ||
mkarchroot.in | ||
pacman-extra.conf | ||
pacman-gnome-unstable.conf | ||
pacman-kde-unstable.conf | ||
pacman-multilib-staging.conf | ||
pacman-multilib-testing.conf | ||
pacman-multilib.conf | ||
pacman-staging.conf | ||
pacman-testing.conf | ||
rebuildpkgs.in | ||
zsh_completion.in |