1. 12 Jan, 2016 1 commit
    • Michael Shigorin's avatar
      stage2: tweak 99-cleanup-boot for efficiency · 37e77285
      Michael Shigorin authored
      Thanks glebfm@ for noticing that Simply (an m-p-d product)
      takes no kernel inside squashfs but relies on livecd-install's
      50-restore-kernel.sh hook to copy the kernel from iso9660
      and regenerate initrd (which is a must anyways but requires
      System.map to be still around).
      
      This saves about 3 Mb in ISO size for a LiveCD using
      kernel-image-std-def-4.1.15-alt1.x86_64.rpm.
      37e77285
  2. 04 Dec, 2015 1 commit
  3. 16 Nov, 2015 1 commit
    • Michael Shigorin's avatar
      image.in, stage2: reworked TCB fixup hook · 5427f3af
      Michael Shigorin authored
      The issue at hand is that:
      
      /etc/tcb/USER/shadow gets USER:auth ownership (OK);
      /etc/tcb/USER/shadow- backup file is root:root (broken);
      /etc/tcb/USER/shadow.lock file is also root:root (broken).
      
      This is observed for all pseudousers created by package installation
      process within working chroots as well as for users created by deflogin
      feature; the problem is that e.g. echo USER:PASS | chpasswd will break.
      
      Looks like the cuplrit might be fakeroot/faked.
      5427f3af
  4. 11 Jul, 2015 1 commit
    • Michael Shigorin's avatar
      stage2: no kernels no go · a277a6cc
      Michael Shigorin authored
      The flexible KFLAVOURS handling has a downside:
      if no packages match the regexp it's silently OK
      until too late, and the error is incomprehensible.
      Let's fix the latter at least.
      a277a6cc
  5. 09 Mar, 2015 1 commit
    • Michael Shigorin's avatar
      stage2, install2: oops, narrow the cleanup back · 7cb477c3
      Michael Shigorin authored
      The former install2-only "bloated binary" purge script
      happened to hit stage2 (which is a lot more than just
      install2); a kind of safety net has been stuck into it
      to guard installable LiveCDs against this particular
      cleanup but seems it was not enought for ildar@ who
      reported this problem almost three years after it was
      introduced.
      
      This change re-places the script back into install2
      section; the binaries in question amount for ca. 8 Mb
      (except openssl ildar@ asked about); if these are deemed
      unneccessary within any other stage2-based subprofiles,
      please step up with details.
      7cb477c3
  6. 12 Aug, 2013 1 commit
    • Michael Pozhidaev's avatar
      stage2: extend /boot cleaner stoplist · 99a7a972
      Michael Pozhidaev authored
      Minor fix: /boot directory is not cleaned for livecd if there are
      homeros-install or luwrain-install files (in addition to live-install
      and livecd-install being already checked).
      99a7a972
  7. 06 Jan, 2013 1 commit
  8. 03 Sep, 2012 1 commit
    • Michael Shigorin's avatar
      fix root directory permissions · 83fa2544
      Michael Shigorin authored
      hsh-initroot leaves the chroot's root directory permissions
      as 1775 while these should really be 755 at most; let's fix it
      (important for both VE and VM images, useful for rescue/livecd
      ones as well -- especially those with an installer onboard).
      83fa2544
  9. 23 Apr, 2012 2 commits
    • Michael Shigorin's avatar
      cleanup: *support* livecd-install · 50bfea9d
      Michael Shigorin authored
      livecd-install support wasn't added properly;
      fixed (thanks glebfm@ yet again).
      
      Something like fine-grained KEEP_* might be due...
      50bfea9d
    • Michael Shigorin's avatar
      85cleanup-legacy: less cruel one · d0a8ea6b
      Michael Shigorin authored
      The early version considered ISO and KOI encoding families
      as obsolete; the current one is a bit more wise and knows
      these are just /rare/.  Thanks glebfm@ for #27168 research
      and cinnamon by slava@ for ISO-related noises at startup.
      d0a8ea6b
  10. 09 Apr, 2012 1 commit
  11. 31 Mar, 2012 1 commit
    • 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
  12. 04 Nov, 2011 2 commits
    • Michael Shigorin's avatar
      live, rescue, and use tags · cf81cc67
      Michael Shigorin authored
      It's still very immature -- base lists should be really base,
      and functionality should be sorted out in more consistent way.
      So far moved to tagged lists (which need some more experimentation
      anyways to get both lists and their use more elegant).
      
      - fixed live.iso (now actually useful):
        + extra cleanup was being done (coming from install2 case)
        + root user was password blocked
        + there was no unprivileged user (added "altlinux" w/o password)
        + added xdm setup hook for future X-based livecd flavours
        + several picks for a less slim "base" list
        + xdm login
      - tweaked rescue.iso (added ext3grep)
      cf81cc67
    • Michael Shigorin's avatar
      stage2 based live subprofiles, updated docs · f5a8b893
      Michael Shigorin authored
      - introduced generic stage2 subprofile (non-standalone)
      - ported installer and rescue over to stage2/{install2,rescue}
      - initial stage2/live (needs more work for sure)
      - use make-initrd-propagator
      - updated and somewhat extended doc/
      
      NB: mind #26133, #26134
      f5a8b893