1. 09 Aug, 2012 2 commits
    • Michael Shigorin's avatar
      git usage refactoring · c4311108
      Michael Shigorin authored
      There were heaps of "if type -t git" there already;
      it wasn't an unintentional mishap but rather a moderate
      copy-paste to get the use cases, and now these seem to
      have essentially settled.
      
      So time to scrap some dups.
      
      NB: the scripts in the generated profile can't rely on
      the contents of the metaprofile (these need to be able
      to work in standalone case either), so a bit of crap
      still lurks there.
      c4311108
    • Michael Shigorin's avatar
      rescue += zerofree, wipefreespace · a3779231
      Michael Shigorin authored
      This kind of tools can be badly missing at times.
      a3779231
  2. 08 Aug, 2012 3 commits
    • Michael Shigorin's avatar
      rescue += boot off sda/sdb · 9c16a9e6
      Michael Shigorin authored
      There's no (convenient) "eject" at times, so it's better to provide
      extra ways of booting right away.
      9c16a9e6
    • Michael Shigorin's avatar
      rescue += openssh · 70793436
      Michael Shigorin authored
      Found myself pretty silly while sittin' at the rescue console
      and bein' unable to leave the cool server room for a way
      more comfortable armchair and a laptop's keyboard...
      
      (yes, it was that disk array needing GPT tools)
      70793436
    • Michael Shigorin's avatar
      lists/tagged/rescue*: minor update · 1cf14cda
      Michael Shigorin authored
      Several GPT-related packages added along with
      a few more rescue related ones.
      1cf14cda
  3. 06 Aug, 2012 5 commits
    • Michael Shigorin's avatar
      gear-store-tags · 05b3c65c
      Michael Shigorin authored
      05b3c65c
    • Michael Shigorin's avatar
      0.7.6-alt1 · 55fda1a0
      Michael Shigorin authored
      - minor improvements
      55fda1a0
    • Michael Shigorin's avatar
      image.in/Makefile: support image STATUS · 0d859e70
      Michael Shigorin authored
      Another feature suggested by Michael Radyuk (torabora):
      some images are known alpha/beta quality, it's more handy
      to just state this at the build time than to rename by hand.
      0d859e70
    • Michael Shigorin's avatar
      syslinux: honour META_VOL_SET for boot menu · cbfc3db8
      Michael Shigorin authored
      This trots along the TODO item on text branding
      and hopefully helps Michael Radyuk (torabora)
      with his feature request to tweak the installer's
      "Install ALT Linux" label; as an example, Simply
      will now offer to "Install Simply Linux".
      cbfc3db8
    • Michael Shigorin's avatar
      live-builder.iso += livecd-qemu-arch · 43d62dd9
      Michael Shigorin authored
      The package actually passed the test and just got uploaded
      to Sisyphus proper; its aim is to help set up the cross-arch
      QEMU build environment.
      
      NB: there are known issues with PPC32-on-x86_64 (which were
      the cause for this package and commit to be created in the
      first place).
      43d62dd9
  4. 31 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      conf.d/test.mk: experimental stuff went here · 307fb51f
      Michael Shigorin authored
      Some images were unbuildable (at least without special setup,
      like ve/centos), unusable or just not useful in any meaningful way
      (like distro/live-isomd5sum); as these tend to get any attention
      during experiments, I decided to put them together in a separate
      configuration file that would be effectively skipped if DEBUG
      is not requested.
      307fb51f
    • Michael Shigorin's avatar
      syslinux: no ui, no escape · 46e3c947
      Michael Shigorin authored
      This one was suggested by enp@ for industrial use where
      some extra protection for the boot process might be quite
      desirable.
      
      If no syslinux ui was specified (the stock configuration paths
      ensure there is one) or if it was set to "none" explicitly,
      then there's no boot: prompt (let alone any menu).
      
      If there's a need to ensure that the boot process is not
      interruptable by Ctrl/Shift/Caps Lock/Scroll Lock.
      46e3c947
  5. 30 Jul, 2012 4 commits
  6. 28 Jul, 2012 4 commits
    • Michael Shigorin's avatar
      server-nano += +power · ea1f039c
      Michael Shigorin authored
      Essentially all the relevant server images got cpufreq setup
      and a power button handler; feel free to ask for revert if
      this causes any harm in any situation.
      ea1f039c
    • Michael Shigorin's avatar
      branding: clarify README · 8fd4b396
      Michael Shigorin authored
      It wasn't obvious at all what BRANDING variable is for
      (at least until the source code and existing configurarion
      has been examined).
      8fd4b396
    • Michael Shigorin's avatar
      Makefile: fix default target to provide help again · a680ea28
      Michael Shigorin authored
      `help' used to be the default target described at the very top
      of the toplevel makefile but that got broken with g2f307fff;
      spotted while discussing m-p with enp@.
      a680ea28
    • Michael Shigorin's avatar
      initial live-testserver.iso · 57747b22
      Michael Shigorin authored
      Also pulled the pkglist/kmodule part out of distro/server-mini's
      recipe and started off a standalone feature based on it.
      
      NB: el-smp kernel now contains aufs as a module but propagator
      doesn't try to modprobe it.
      57747b22
  7. 27 Jul, 2012 1 commit
  8. 21 Jul, 2012 1 commit
  9. 19 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      x11: ensure kdm3 installation for tde · ceffac40
      Michael Shigorin authored
      TDE distros don't really need kdm4 which was proposed as
      a replacement by zerg@ (for all the valid reasons but kdm3
      wasn't maintained at that point, this has changed since).
      ceffac40
    • Michael Shigorin's avatar
      live, rescue: fix stage2cfg.mk LISTS/PACKAGES order · 6c00e10b
      Michael Shigorin authored
      The reason is that package lists and individual packages
      are processed in different dependency resolution "transactions"
      by mkimage; thus if packages (the more precise form of specifying
      the contents) come first they can't override the lists appearing
      later, and that's wrong: we should be able to specify the more
      generic things and then pinpoint the specifics.
      
      This became apparent while authoring [[Mkimage/Profiles/m-p/howto]]
      asked for by drool@.
      6c00e10b
  10. 18 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      build-vm: standalone build is a must, too · cb764516
      Michael Shigorin authored
      The problem was spotted by Alexander Bandura:
      bin/tar2vm wasn't present in the generated profile.
      
      I considered extending features.in/Makefile to include
      bin/ alongside lib/ but that would make the helper's location
      unpredictable (unless BUILDDIR is specified explicitly) so
      restricting sudoers would be harder; worse yet, the copied file
      would come with write access for the user building an image.
      
      The implications in restricted case are complex enough anyways
      so the recommended implementation would only include a fixed
      readonly location like /usr/share/mkimage-profiles/bin/tar2vm
      as laid out in doc/vm.txt, and that means it's in the metaprofile
      not a generated profile.
      cb764516
    • Michael Shigorin's avatar
      conf.d/README: updated reference · 5f479eb8
      Michael Shigorin authored
      Argh, is it overdocumentation already?
      The temporary name bites once again...
      5f479eb8
  11. 17 Jul, 2012 2 commits
  12. 16 Jul, 2012 7 commits
    • Michael Shigorin's avatar
      gear-store-tags · 1b62f94b
      Michael Shigorin authored
      1b62f94b
    • Michael Shigorin's avatar
      0.7.4-alt1 · 0a3aaf15
      Michael Shigorin authored
      - ppc builds
      0a3aaf15
    • Michael Shigorin's avatar
      initial PowerPC support · 1ee997e8
      Michael Shigorin authored
      As it happens, adding another architecture required almost no changes;
      native 32-bit ppc build took only ARCH and a repo, qemu-ppc one still
      has problems (/.host/entry hangs while unpacking setup for fakedata).
      
      Proof of concept on a QS22:
      
        $ make ve/bare.tar.gz
        ** ARCH: ppc
        /bin/sh: rpmvercmp: command not found
        21:41:01 cleaning up
        21:41:03 initializing BUILDDIR: build/
        21:41:03 preparing distro config
        21:41:05 starting image build (coffee time)
        21:42:48 done (1:42)
        ** image: $TMP/out/bare-20120716-ppc.tar.gz [21M]
      1ee997e8
    • 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
    • Michael Shigorin's avatar
      live-builder: minor fixes · 809ae4d9
      Michael Shigorin authored
      su wasn't making it into the image breaking ~/.git setup,
      and there's no reason for a full default boot timeout either.
      809ae4d9
    • Michael Shigorin's avatar
      prep optimization · 24edc620
      Michael Shigorin authored
      There was some extra duplication, just clean it up.
      24edc620
    • Michael Shigorin's avatar
      non-native ARM support via qemu · d31a2555
      Michael Shigorin authored
      mkimage and hasher can make use of qemu to run
      non-native binaries while working on the chroots;
      thanks kas@, manowar@ and sbolshakov@ for implementing
      this functionality as well as providing nice examples
      through mkimage-profiles-arm and mkimage-profile-armrootfs.
      
      This required the architecture check to be added since baking
      a tarball with "arm" as its specified arch and x86_64 inside
      isn't particularly good thing to let slip through; however
      the implementation is quite fragile, bugreports and patches
      are seriously welcome.
      
      NB: APTCONF evaluation order between lazy make and nimble shell
      turned out to be quite a delicate issue in this particular case.
      d31a2555
  13. 09 Jul, 2012 4 commits
    • Michael Shigorin's avatar
      gear-store-tags · 03ba4631
      Michael Shigorin authored
      03ba4631
    • Michael Shigorin's avatar
      0.7.3-alt1 · 49eb551f
      Michael Shigorin authored
      - arm builds
      49eb551f
    • Michael Shigorin's avatar
      initial native ARM support · 3c26cc86
      Michael Shigorin authored
      The only thing to be fixed was setarch(8) symlinks assumption
      that is correct for x86 but not for ARM.
      
      There's also some hasher(7) setup to be done:
      
        mkdir -p ~/.hasher
        echo >> ~/.hasher/config <<-EOF
        def_target=arm
        #cache_dir=$HOME/tmp	# depends on RAM/storage configuration
        EOF
      
      ...and of course apt(8) should be properly set up too.
      
      An example PoC build on a CM-A510 board (tmpfs):
      
        $ make BRANDING=altlinux-centaurus ve/bare.tar.gz
        ** ARCH: arm
        18:10:45 initializing BUILDDIR: build/
        18:10:45 preparing distro config: build/distcfg.mk
        18:10:46 starting image build: tail -f build/build.log
        18:14:49 done (4:02)
        ** image: $TMP/out/bare-20120706-arm.tar.gz [23M]
      3c26cc86
    • Michael Shigorin's avatar
      Makefile: drop noise when no config is found · 698c5e31
      Michael Shigorin authored
      ~/.mkimage/profiles.mk is useful but not requisite by any margin;
      no need to make noise trying to make it either.
      698c5e31
  14. 06 Jul, 2012 1 commit