1. 10 Apr, 2012 1 commit
    • Michael Shigorin's avatar
      lib/build.mk: tweaked wreckage filter · a6cc9fa8
      Michael Shigorin authored
      A pretty common issue breaking the image build is inter-package
      file conflict resulting in hsh-install failure down there.
      Let's bring that back to attention conveniently.
      a6cc9fa8
  2. 09 Apr, 2012 11 commits
    • Michael Shigorin's avatar
      gear-store-tags · 780acc8e
      Michael Shigorin authored
      780acc8e
    • Michael Shigorin's avatar
      0.6.3-alt1 · d1907597
      Michael Shigorin authored
      - massive squashfs tuning
      d1907597
    • Gleb Fotengauer-Malinovskiy's avatar
      add dummy distro/livecd-install · 1432bb16
      Gleb Fotengauer-Malinovskiy authored
      sub.in/stage2/image-scripts.d/99cleanup-boot,
      livecd-install need /boot files too
      1432bb16
    • Michael Shigorin's avatar
      READMEs: pkglist related clarification · f4519332
      Michael Shigorin authored
      glebfm@ asked what to do with new package lists: whether these
      belong to features, or to distributions themselves.  This question
      is actually open and up for discussion but there are guidelines
      that can and should be written down already; and so they were.
      
      Added pkgdups utility reference as well.
      f4519332
    • Michael Shigorin's avatar
      doc/variables.txt: ARCHES explained · acaf12c3
      Michael Shigorin authored
      Multiple ARCHES won't just magically work without
      the ability to figure out the correct apt.conf;
      fortunately there's just the right example handy
      in profiles.mk.sample already.
      
      Thanks glebfm@ for feedback.
      acaf12c3
    • Michael Shigorin's avatar
      stage2: squashfs blocksize tweaks · 8d160698
      Michael Shigorin authored
      Looks like the 128k default block size is pretty well chosen:
      it saves ~6% of image size compared to 64k, and subsequent
      differences are ~3% per doubling the block size up to 1M
      (thanks led@ for carrying out the tests).
      
      So we'll stick with 256k for "normal" xz compression (inodes
      uncompressed) and get 512k back for "tight" one (compressed).
      The runtime performance issues are to be examined yet when
      bootchart or the like is deployed, nothing drastic though.
      
      With "fast" (gzip/lzo) squash compression inodes go unmolested.
      
      For the record, tight live-webkiosk builds as 95M image in 3:40,
      and tight live-flightgear.iso builds as 669M image in 6:34.  Nice.
      
      There's no much sense going for 1M block size: e.g. live-webkiosk
      would drop to 93M (3:46) but its load time would increase up to
      2:07 as compared to 1:48 for -b 524288 and 1:42 for -b 262144 -noI
      on a Duron 500/512M system given the very same DVD+RW media.
      8d160698
    • Michael Shigorin's avatar
      reports.mk: handle missing gra{phviz,cefully} · 931d23e8
      Michael Shigorin authored
      If there's no dot(1) then its input file should just be stored;
      thanks glebfm@ for reminding about this.
      931d23e8
    • Michael Shigorin's avatar
      live: tweak autologin warning · 6fee43e9
      Michael Shigorin authored
      Should be removed when console autologin is there
      (mind the live-builder).
      6fee43e9
    • Michael Shigorin's avatar
      stage2: tunable squashfs compression · fe58c46e
      Michael Shigorin authored
      The existing implementation would handle kernel differences
      just fine but a bit too automatically: if it sees xz support,
      that's what will end up being used (and if there's -Xbcj binary
      compression filter available for the target platform, it will
      be applied unequivocally either).
      
      It's perfectly suitabe for getting fine-tuned release images
      but is also a bit too resource-consuming while developing the
      image configuration which has no business with its compression.
      
      The one and only knob is SQUASHFS (see doc/variables.txt);
      to give an idea of the differences, here are some numbers
      for a mostly-binary (43% as per 99-elf-stats) webkiosk livecd
      and a rather less so (18%) flightgear one on a dual quad-core
      X5570 node (each mksquashfs run used up all the cores):
      
      SQUASHFS | live-webkiosk.iso | live-flightgear.iso
      ---------+-------------------+---------------------
      fast     | 3:30 / 130M       | 5:11 / 852M
      normal * | 3:37 / 100M       | 5:35 / 688M
      tight    | 3:50 / 98M        | 6:47 / 683M
      
      Thus if the knob isn't fiddled with, the defaults will allow
      for a reasonably fast build of a pretty slim image; if one is
      building a release or if a particular image is very sensitive
      being close to the media capacity then just add SQUASHFS=tight
      and see it a percent or two down on size.
      
      Please note that lzo/gzip-compressed images are also quicker
      to uncompress thus further helping with test iterations.
      
      Thanks to led@ and glebfm@ for helpful hints and questions.
      fe58c46e
    • Michael Shigorin's avatar
      power: apm += lphdisk · 0cc20d10
      Michael Shigorin authored
      APM enabled notebooks would usually hibernate to
      a partition of special type and special format;
      thus to make use of this APM BIOS feature folks
      might need a corresponding formatter.
      0cc20d10
    • Michael Shigorin's avatar
      stage2: 99-elf-stats for squashfs tuning · c2996cc4
      Michael Shigorin authored
      This kind of test was proposed by led@ to gather statistics
      on chroot's contents going to become squashfs (the script
      optimizations lowering added overhead from ~10 sec down
      to a subsecond range were also proposed by him).
      
      Intentionally not documented in doc/variables.txt due to
      the rather lowlevel nature of the probe (at least so far).
      
      The knobs involved are SQUASHFS (the additional effort kicks
      in only for "tight" case) and GLOBAL_SQUASHFS_SORT (must be
      non-empty for this extra overhead to occur).
      
      Additional experimentation is needed to find out whether
      the difference in squashfs size and performance is worth
      the trouble (seems the impact is non-zero but pretty minor).
      c2996cc4
  3. 07 Apr, 2012 2 commits
  4. 06 Apr, 2012 1 commit
  5. 03 Apr, 2012 1 commit
    • Michael Shigorin's avatar
      lib/log.mk: check hasher version · 88050c97
      Michael Shigorin authored
      There is at least one known deficiency for mkimage-profiles:
      build.log will be truncated if verbose mode is enabled and
      hasher version is lower than 1.3.22.
      
      The check is done here since it's where the logging is arranged,
      and doing it in image.in/Makefile would result in the warning
      about log-truncating software being truncated by the said software.
      
      Thanks Max Kosmach for reporting this inobviousity.
      88050c97
  6. 02 Apr, 2012 5 commits
  7. 31 Mar, 2012 6 commits
    • Michael Shigorin's avatar
      live-flightgear.iso lacked sound · 4afd735a
      Michael Shigorin authored
      Thanks snejok@ for spotting the missing, I didn't get around
      to tests with headphones...
      
      Also fixed nouveau getting in after target shuffling,
      and tweaked firefox homepage to be useful in this context.
      4afd735a
    • Michael Shigorin's avatar
      live: introduce homepage redirector knobs · 3d649db6
      Michael Shigorin authored
      There are three more variables to adjust the redirect page:
      HOMEPAGE, HOMENAME and HOMEWAIT; e.g. live-webkiosk is now
      quite a bit more whitelabel.
      3d649db6
    • Michael Shigorin's avatar
      syslinux configuration revisited · b5e6906b
      Michael Shigorin authored
      - incompatible change (to fix the rather broken early style):
        use/syslinux/ui-% is now use/syslinux/ui/%;
      
      - default timeout changed to 9 seconds (long enough and keeps
        the countdown in a single figure);
      
      - added totaltimeout of 300 seconds;
      
      - provided live kiosk images with almost-instant boot by default;
      
      ...and some other assorted tweaks here and there, sorry.
      b5e6906b
    • Michael Shigorin's avatar
      live-webkiosk-mini.iso: 85M is enough · afd84973
      Michael Shigorin authored
      Thanks to a reviewer who came with useful feedback and a goal:
      http://www.opennet.ru/openforum/vsluhforumID3/83728.html#136
      the live-webkiosk image got forked into a separate one:
      
      - dropped DRI, virtualbox GA, mc & co, docs, rpmdb;
      - added Russian keyboard layout (ctrl+shift to toggle);
      - rebased live-webkiosk onto live-webkiosk-mini ;-)
      
      Maybe vbox guest additions will get back but rpmdb is a bit
      impractical on a kiosk squashfs image, even in presence of
      aufs rw overlay.
      afd84973
    • Michael Shigorin's avatar
      xorg reorg · b129c86a
      Michael Shigorin authored
      Now is the time for all fonts to be pulled in when needed and not
      along with the X server and hardware drivers; tablet support is
      moved to a (preexisting) specific target either.
      
      There's no need now to arch-discriminate a few older drivers too.
      b129c86a
    • Michael Shigorin's avatar
      cleanup scripts rehashed · 1b885b3d
      Michael Shigorin authored
      There's much reason for reuse instead of duplication
      among the different stage2-based subprofiles.
      
      In particular, the rather monolithic driver cleanup script
      of the ancient is better done in several clear pieces with
      the final depmod run.
      
      Scripts dropping apt/rpm databases will dump pkglist first.
      
      A script purging /boot/* will honour live-install if present.
      
      Minor inno^Wfixups all over the map too.
      1b885b3d
  8. 30 Mar, 2012 1 commit
  9. 29 Mar, 2012 1 commit
  10. 28 Mar, 2012 4 commits
    • Michael Shigorin's avatar
      fix live-install image · 50a0c668
      Michael Shigorin authored
      Removing /boot stuff from the live root was a nice idea
      to spare some space except that live-install depends on it...
      50a0c668
    • Michael Shigorin's avatar
      initial live-flightgear.iso · 5ff76527
      Michael Shigorin authored
      This one should help (erm... hope not the other way around!)
      testing both 3D setup and FlightGear packages I happen to
      maintain in a known clean environment.
      5ff76527
    • Michael Shigorin's avatar
      enhanced 3D graphics support · 9555f1f6
      Michael Shigorin authored
      The previous configuration would result in intel-only
      3D being available since nouveau and radeon kernel modules
      are packaged separately with most kernel-images; getting
      NVIDIA/AMD drivers in is more tricky due to availability
      of both proprietary and free implementations with the choice
      being rather a tradeoff in each case (somewhat less so with
      ATI/AMD drivers).
      
      So this is a first shot at the problem: FlightGear would
      freeze on me with today's nouveau.
      9555f1f6
    • Michael Shigorin's avatar
      live-tde += ru · 87502d2a
      Michael Shigorin authored
      This is actually a band-aid until decent l10n is there...
      87502d2a
  11. 27 Mar, 2012 2 commits
  12. 26 Mar, 2012 5 commits
    • Michael Shigorin's avatar
      gear-store-tags · d6e899d1
      Michael Shigorin authored
      d6e899d1
    • Michael Shigorin's avatar
      0.6.1-alt1 · edfdeca3
      Michael Shigorin authored
      - ISO9660 metadata support
      - initial alien VE image
      edfdeca3
    • Michael Shigorin's avatar
      slimmer webkiosk with Russian layout · b6e640bd
      Michael Shigorin authored
      Thanks someone for review and feedback:
      http://www.opennet.ru/openforum/vsluhforumID3/83728.html#136
      
      Better cleanup and i18n controls are due but in the meantime,
      let's at least build something actually useful.
      b6e640bd
    • Michael Shigorin's avatar
      initial alien image support · 0c41e39e
      Michael Shigorin authored
      "Alien" rather means "CentOS-based" than "xenophilic" here;
      in case you still wonder: http://www.altlinux.org/Hasher/CentOS
      0c41e39e
    • Michael Shigorin's avatar
      initial ISO9660 metadata support · ed7bf0db
      Michael Shigorin authored
      As was noted by Alexey Shabalin in libosinfo context,
      current ALT Linux images tend to lack ISO9660 metadata
      -- which they did have back in the day of Master 2.4.
      
      Please note that the data collection occurs this way
      due to mkimage's config.mk resetting the values to be
      empty; this was worked around by using another config
      file, $(BUILDDIR)lib/iso.mk, and including it later
      but that would require a separate target with per-target
      CONFIG variable which isn't elegant at all given the need
      to actually build up the metadata set.
      
      So the variables were changed (to be more readable anyways)
      and then proxied back to BOOT_*.  This might be cleaned up
      some day after the inclusion order is tweaked or mkimage
      defaults get set-if-unset-yet (?=).
      ed7bf0db