Skip to content
Snippets Groups Projects
  1. Jul 05, 2017
    • Luke Shumaker's avatar
      makechrootpkg: delete_chroot: Fix the is-btrfs-subvolume check. · 2a9b30ed
      Luke Shumaker authored
      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
      2a9b30ed
  2. Jul 04, 2017
  3. Apr 17, 2017
    • Luke Shumaker's avatar
      makechrootpkg: Avoid having code floating around outside of a function. · 49088b08
      Luke Shumaker authored
      This means wrapping variable initialization in init_variables(), and the
      main program routine in main().
      
      I did NOT put `shopt -s nullglob` in to a function.
      
      It make make sense to move init_variables() down into the main()
      function, instead of having it as a separate function up top (if this
      done, then the `-g` flag passed to `declare` in init_variables() can
      be dropped).  However, in interest of keeping the `diff -w` small, and
      merges/rebases simpler, this isn't done here.
      49088b08
  4. Apr 09, 2017
  5. Apr 05, 2017
  6. Mar 20, 2017
  7. Mar 07, 2017
  8. Mar 04, 2017
  9. Feb 17, 2017
    • Jan Alexander Steffens (heftig)'s avatar
      mkarchroot: Set LANG=en_US.UTF-8 · c8147a35
      Jan Alexander Steffens (heftig) authored
      In order to have an UTF-8 locale in the build root. This is something
      normally set on real machines but is not set from our chroots. Meson,
      for example, loudly complains when the locale charset is not UTF-8.
      
      I'd like to have C.UTF-8, as most other distributions do. Unfortunately,
      it's not part of vanilla glibc; en_US.UTF-8 will have to do.
      
      mkarchroot already creates roots with both en_US.UTF-8 and de_DE.UTF-8,
      the latter because builds of gcc (perhaps used to) require it.
      
      Bump the CHROOT_VERSION due to the setting change.
      c8147a35
Loading