You need to sign in or sign up before continuing.
  1. 12 May, 2022 1 commit
  2. 26 Dec, 2016 1 commit
    • Michael Shigorin's avatar
      mktmpdir: refer to docs · b3caf70f
      Michael Shigorin authored
      Manual BUILDDIR specification isn't exactly obvious
      from this script (aiming to derive it automatically),
      so at least point those interested at QUICKSTART
      they might have long forgotten already or, gasp,
      not even started reading.
      b3caf70f
  3. 10 Jan, 2016 1 commit
    • Michael Shigorin's avatar
      QUICKSTART, mktmpdir, build.mk: hasher's /proc · 3b3cf4cc
      Michael Shigorin authored
      Either /etc/hasher-priv/system or /etc/hasher-priv/user.d/$USER
      must contain at least "allowed_mountpoints=/proc" for mkimage
      to work for mkimage-profiles; thanks Daniil Golovanov for
      providing feedback indicating the lack of the corresponding
      checks.
      3b3cf4cc
  4. 07 Sep, 2015 1 commit
    • Michael Shigorin's avatar
      mktmpdir: fixed sort key · 025e6110
      Michael Shigorin authored
      The sort key field value has been off-by-one apparently,
      "6" corresponds to "capacity" field of df -PT output
      while the "available" one was meant:
      
      Filesystem     Type  1024-blocks     Used Available Capacity Mounted on
      /dev/sda9      ext4     15350768 12799972   1747980      88% /
      tmpfs          tmpfs     1967204    27396   1939808       2% /tmp
      
      1              2               3        4         5       6
      
      This lapse has been five years old, looks like it's only
      been masked by lower available space limit *and* filesystem
      ordering by type so far.  It didn't hit me even now, rather
      inspected the code while implementing volumes-profile-starterkit...
      025e6110
  5. 17 Jul, 2012 1 commit
  6. 16 Jul, 2012 1 commit
    • Michael Shigorin's avatar
      bin/mktmpdir: grok NFS root · 18f1a636
      Michael Shigorin authored
      "df -l" is going to hurt (or at least spam) if it's a diskless node;
      "df -P" helps maintain output parseability.  So be it.
      18f1a636
  7. 10 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      bin/mktmpdir: check for filesystem mount options · 5a1065c3
      Michael Shigorin authored
      As was found out by Vladimir Karpinsky (thanks for patience!),
      the autochosen directory might still have too restrictive mount
      options -- nodev and/or noexec.  Hopefully the diags are a bit
      better and faster by now.
      5a1065c3
  8. 06 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      check vigorously the autochosen path prefix either · 87bfa3f6
      Michael Shigorin authored
      It happens that if the host environment isn't particularly
      tuned up for package builds already then bin/mktmpdir might
      come up with a directory outside hasher-allowed prefix list;
      now that's a shame and not a Christmas gift, clearly.
      
      Thanks Vladimir Karpinsky for pointing this problem out too.
      87bfa3f6
  9. 02 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      bin/mktmpdir tweaks · 7738c6a6
      Michael Shigorin authored
      The fallback case of building in a brother directory moved
      from the last line of code to the first one becoming more
      explicit along the way.
      
      Support for slash-containing argument (being a tmpdir name
      template prefix) has been added.
      7738c6a6
  10. 06 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      bin/mktmpdir: lower the space bar · b6438b9c
      Michael Shigorin authored
      With not-that-recent mkimage-profiles development,
      it's no longer apparent that at least a gigabyte
      of free space is required to build something useful
      (at least for the tests, like syslinux.iso).
      
      In short, the guesser cutoff margin is now 256M.
      b6438b9c
  11. 04 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      iso.mk: low space hint on build failure · b474bff4
      Michael Shigorin authored
      Just in case the build.log will be inobvious, and it's easy to diagnose
      automatically.  Thanks Andrey Stroganov for this use case.
      
      Thanks for improving the initial implementation go to raorn@ for kind
      commit lynch and to Yuri Bushmelev for actually suggesting something
      more concise.
      
      BTW the "1024" magic number was taken out of thin air:
      the "no free space" errors are most likely to happen while
      forming/populating a chroot (apt/rpm errors out) and chroots are
      roughly two orders of magnitude heftier than a megabyte.
      b474bff4
  12. 03 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      working installer iso image · d91a3564
      Michael Shigorin authored
      - s/stage2/install2/g
      - added pkg/lists
      - initial README (ru_RU.KOI8-R)
      - mkimage topdir is in image.in/, really (off-tree build)
        + initial bin/mktmpdir
        + BUILDDIR (works)
      - s/cd/iso/
      - drop --with-distro (considered harmful)
      d91a3564