1. 16 Jul, 2012 3 commits
    • 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
  2. 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
  3. 06 Jul, 2012 1 commit
  4. 02 Jul, 2012 7 commits
  5. 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
  6. 29 Jun, 2012 1 commit
  7. 28 Jun, 2012 1 commit
  8. 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
  9. 26 Jun, 2012 2 commits
  10. 25 Jun, 2012 16 commits
    • Michael Shigorin's avatar
      gear-store-tags · bb811eea
      Michael Shigorin authored
      bb811eea
    • Michael Shigorin's avatar
      0.7.1-alt1 · 5c4cedb8
      Michael Shigorin authored
      - vm improvements and assorted tweaks/fixes
      5c4cedb8
    • Michael Shigorin's avatar
      35-xdg-user-dirs: cope with missing control · 9ba93dff
      Michael Shigorin authored
      There's no reason to bail out if xdg-user-dirs control
      facility is not available within the branch used.
      9ba93dff
    • Michael Shigorin's avatar
      docs updated · f8af1c92
      Michael Shigorin authored
      Minor tweaks to toplevel docs as well as some doc/*.txt,
      doc/variables.txt renamed to doc/params.txt, and a brand new
      doc/pkglists.txt is added (thanks manowar@ for his considerations).
      f8af1c92
    • Michael Shigorin's avatar
      05live.cfg: drop "splash" by default · aa0f5c94
      Michael Shigorin authored
      It's configured by plymouth feature when needed;
      install2 bootargs support is generalized a bit
      to become stage2 one as was intended anyways.
      aa0f5c94
    • Michael Shigorin's avatar
      live.mk: added live-webkiosk-flash · 83b7ca69
      Michael Shigorin authored
      This one was requested by Andrew Churashev; please note
      that the image in use must contain recent flash plugin
      so that at least the already known vulnerabilities are
      more or less plugged in it... and Sun Java plugin isn't
      going to get secure either.
      83b7ca69
    • Michael Shigorin's avatar
      initial vm-{net,ssh} features · 09be84be
      Michael Shigorin authored
      A virtual machine isn't very useful if there are no means
      to access it; let's bring up the basic networking and provide
      root SSH access via pre-existing public key.
      
      As the remote access with known default credentials is roughly
      equivalent to just lending one's VMs to anyone with network
      access to it, the fallback root password is now exterminated;
      you have to provide one (or a long enough random string
      if you plan to use keys only, see e.g. apg utility).
      09be84be
    • Michael Shigorin's avatar
      factor out openssh packages · 3f21b6b0
      Michael Shigorin authored
      There's no need to repeat the typical openssh-* triade
      all over the place; those who need server and client
      are better off pulling in "openssh" pkglist, and those
      needing a particular package should specify it.
      3f21b6b0
    • Michael Shigorin's avatar
      build-vm: 06syslog should differ from VE's one · b24bd31f
      Michael Shigorin authored
      There's no need to disable console as it's emulated too,
      and it still can be helpful or just convenient.
      b24bd31f
    • Michael Shigorin's avatar
      vm feature renamed to vmguest · 11d4f406
      Michael Shigorin authored
      The "vm" name became a bit confusing with the introduction
      of build-vm feature; let's call this one "vmguest" until we do
      hierarchical (sub)features.
      11d4f406
    • Michael Shigorin's avatar
      bashize tar2vm · e355bd7c
      Michael Shigorin authored
      Finally tired of expr(1) quirks,
      and even ash(1) does $((arithmetic-expansion))!
      e355bd7c
    • Michael Shigorin's avatar
      cleanup, build-vm: mutual support · 0a5f164d
      Michael Shigorin authored
      It appears that reusing installer-feature-*-stage3 packages
      is perfectly fine with VM images; these just need to be removed
      after the package scripts they carry have worked out.
      0a5f164d
    • Michael Shigorin's avatar
      initial specific VM formats support · 8a04d9b6
      Michael Shigorin authored
      Raw disk images are convenient and universal
      but there are custom formats like Qemu's qcow2
      providing additional features, e.g. copy-on-write
      or space savings.  All of this ultimately belongs
      to mkimage but in the mean time has been implemented
      here as well.
      8a04d9b6
    • Michael Shigorin's avatar
      initial conf.d/vm.mk · 90be07fb
      Michael Shigorin authored
      After we have built a bare virtual machine image successfully
      some variations are due, and these are to be described here.
      90be07fb
    • Michael Shigorin's avatar
      x11: use stage3 variations for THE_PACKAGES · 72fc74d1
      Michael Shigorin authored
      installer-feature-no-xconsole depends on stage2 bits and is
      NOT intended for installed/live systems at all; let's move
      to the proper stage3 based one.
      72fc74d1
    • Michael Shigorin's avatar
      README: single-byte bugfix · f6462700
      Michael Shigorin authored
      Was mentioning REPORTS while the variable name is REPORT.
      f6462700
  11. 22 Jun, 2012 1 commit
  12. 21 Jun, 2012 2 commits