1. 30 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      0.7.5-alt1 · 2a437c4d
      Michael Shigorin authored
      - a bunch of fixups and cleanups
      2a437c4d
    • Michael Shigorin's avatar
      lib/clean.mk: post-build cleanup revisited · 3a8af6b5
      Michael Shigorin authored
      The prerequisites for a cleanup after a successful build
      were somewhat weird at this point; now the rules are:
      - if DEBUG level is more than 1 or CHECK is set, don't do it;
      - otherwise if at least one of the following conditions is true:
        + there's more than one target being built in a row;
        + the build was run by e.g. alterator-mkimage;
        + metaprofile directory is read only
        ...then do a distclean.
      
      If these are still weird or feel unsuitable for profile hacking,
      drop me a note (or a patch).
      3a8af6b5
  2. 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
  3. 27 Jul, 2012 1 commit
  4. 21 Jul, 2012 1 commit
  5. 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
  6. 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
  7. 17 Jul, 2012 2 commits
  8. 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
  9. 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
  10. 06 Jul, 2012 1 commit
  11. 02 Jul, 2012 7 commits
  12. 30 Jun, 2012 1 commit
    • Michael Shigorin's avatar
      build-vm: avoid dummy raw2raw conversion · 0e9a8736
      Michael Shigorin authored
      It's better to rather just move the raw image instead
      of specifically converting it into the same, and there's
      no need for qemu-img altogether then.
      
      Let's drop the intermediate raw image after successful
      conversion as well.
      0e9a8736
  13. 29 Jun, 2012 1 commit
  14. 28 Jun, 2012 1 commit
  15. 27 Jun, 2012 1 commit
    • Mikhail Efremov's avatar
      live: Replace etcnet-dhcp hook with setup-network. · 52ee4a82
      Mikhail Efremov authored
      Setup network settings:
      1. Init /etc/hosts with "127.0.0.1 localhost"
      2. Set hostname, domainname
      3. Set defaults for NetworkManager or
         attempt to autoconfigure eth0 by etcnet.
      
      Based on init3-network script from m-p-d.
      52ee4a82
  16. 26 Jun, 2012 2 commits
  17. 25 Jun, 2012 1 commit