You need to sign in or sign up before continuing.
  1. 25 Mar, 2024 1 commit
    • Anton Midyukov's avatar
      Expand @KFLAVOUR in package lists · 5739103f
      Anton Midyukov authored
      The line containing @KFLAVOUR is expanded into several lines,
      it is successively replaced with values from the KFLAVOURS variable.
      This will allow to specify kernel modules and kernel headers in lists.
      5739103f
  2. 30 Dec, 2022 1 commit
  3. 04 Oct, 2022 1 commit
  4. 11 Apr, 2022 1 commit
  5. 16 Dec, 2021 1 commit
  6. 04 Dec, 2021 1 commit
  7. 23 Nov, 2021 1 commit
  8. 08 Sep, 2021 1 commit
  9. 23 Aug, 2021 2 commits
  10. 23 Jul, 2021 1 commit
  11. 23 Oct, 2019 1 commit
  12. 15 Oct, 2018 1 commit
    • Michael Shigorin's avatar
      lists: drop leading/trailing whitespace · 1a525c89
      Michael Shigorin authored
      This is a workaround for presumably alterator-pkg's
      misbehaviour given a pkglist with a line ending with
      a space character; my particular case grew from @E2K
      suffix resulting in "%name@e2k %name@e2kv4" which,
      in its turn, became "%name " in e2k-arch build.
      
      Installer complained about being
      
        unable to install in selected configuration
      
      with /tmp/install2.log "clarifying" the problem to be
      %name  being unavailable (while %name package was there
      in both RPMS.main and metadata)... not obvious at all!
      
      So while downstream should be hardened either, let's do
      what we can do here.
      1a525c89
  13. 14 Mar, 2018 1 commit
    • Michael Shigorin's avatar
      lists, doc: introduce @IA32, @X86 archdep macros · 2d257a42
      Michael Shigorin authored
      The former ("proper 32-bit x86 package form") has been suggested
      by zerg@ quite some time ago but the desired interface wasn't clear
      at the moment IIRC; a quiet morning helped me realize that
      
        ICAClient-preinstall@IA32
      
      is rather more readable than
      
        ICAClient-preinstall@i586 i586-ICAClient-preinstall@x86_64
      
      so here's the (trivial) implementation; and I actually needed
      the latter, @X86 ("any-x86") to mark x86-only packages so
      
        xorg-drv-intel@X86
      
      is now equivalent to
      
        xorg-drv-intel@i586 xorg-drv-intel@x86_64
      2d257a42
  14. 27 Jun, 2016 1 commit
  15. 01 Apr, 2016 1 commit
  16. 25 Mar, 2016 1 commit
    • Michael Shigorin's avatar
      pkg.in: more --parents · 1ccdc90a
      Michael Shigorin authored
      This cp(1) option has been employed already but just for the lists
      (and still incomplete as it didn't cover the names coming through
      groups mechanism); thanks sem@ for trying out groups/simply/*,
      failing to build an image and reporting the problem.
      Reported-by: 's avatarMikhail Efremov <sem@altlinux.org>
      1ccdc90a
  17. 20 Apr, 2015 1 commit
    • Michael Shigorin's avatar
      pkg.in/lists: archdep suffices for pkglists · ac5dbb4b
      Michael Shigorin authored
      This is an initial implementation of architecture dependent
      contents handling for package lists more or less in the vein
      of mkimage-profiles-desktop's one *but* using suffix part to
      filter words in or out *not* prefix part to replace it with
      a comment marker (thus filtering out lines).
      
      The syntax should be pretty obvious:
      
        a b@i586 c@x86_64
      
      will get "a b" given ARCH=i586 and "a c" given ARCH=x86_64;
      please see doc/archdep.txt for a more elaborate description
      and a conversion script.
      ac5dbb4b
  18. 07 Feb, 2015 1 commit
  19. 20 Jan, 2015 1 commit
    • Michael Shigorin's avatar
      pkg/lists: uncrustify Makefile · a86dd0c4
      Michael Shigorin authored
      The problem with the changed piece of code is that it would
      - both call cp(1) multiple times if multiple *_LIST variables
        were non-empty (which is usually the case), and
      - try to evaluate stdout of the called commands as a shell
        script (which would be empty unless someone passed e.g. -v
        to that cp(1) but it's crazy to rely on things like this).
      
      So the functions should prepare arguments for a single copy
      command that is predictable and could be made verbose.
      
      Ouch.
      a86dd0c4
  20. 17 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      pkg/lists: tweak Makefile to expand variables · 72bc5d05
      Michael Shigorin authored
      The issue at hand is the hack to be employed in the init feature:
      
      	@$(call add,THE_LISTS,$$(INIT_TYPE))
      
      where INIT_TYPE is set separately; $(value $V) would leave that kind
      of substitution unmolested while we would actually need it done.
      72bc5d05
  21. 09 Aug, 2012 1 commit
    • 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
  22. 10 May, 2012 1 commit
    • Michael Shigorin's avatar
      initial kernel and metadata features · c83cc111
      Michael Shigorin authored
      This further refines the modular build by making
      metadata being a clearly separated feature rather
      than having to rely on runtime tests, and also by
      moving the code which cares for kernel bits of base
      installation (.base list) in a feature of its own.
      
      There's more to it but let's get the ball rolling first.
      c83cc111
  23. 10 Apr, 2012 1 commit
  24. 06 Feb, 2012 1 commit
  25. 26 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      p/l/Makefile: refactor repetitive actions · 643d4a75
      Michael Shigorin authored
      *_PACKAGES and *_LISTS shouldn't inflict copypasted blocks;
      we can iterate over these just fine.
      
      NB: dump-*, not dump_*, due to namespace pollution hurting
      debug target if done the latter way (in case someone misses
      the morning tea as wel).
      643d4a75
  26. 19 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      introduced THE_{KMODULES,PACKAGES,LISTS,GROUPS} · d6972a39
      Michael Shigorin authored
      As too many things started duplicating between distros proper
      and (e.g. corresponding) LiveCDs, it became apparent that a class
      of entities which end up working for THE_USER (not a sysadmin,
      and not a developer, just a Linux user) is in need.
      
      So THE_KMODULES will power installed basesystem and live image,
      while THE_PACKAGES, THE_LISTS and THE_GROUPS will participate
      in building those.
      d6972a39
  27. 06 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      build-distro.mk, pkg.in/lists/Makefile: fixups · c400ba59
      Michael Shigorin authored
      Actually there's an added duplication in the form of the
      test that was previously missing in pkg.in/lists/Makefile
      -- that has to be done properly when it's clear how.
      
      This fully omits pkg/lists/.base generation in environments
      that won't make use of it.
      c400ba59
  28. 04 Nov, 2011 8 commits
    • Michael Shigorin's avatar
      avoid "nothing to commit" in build.log · 7919df82
      Michael Shigorin authored
      Typical (to-be-refactored when having settled down)
      "cd/git .../cd -" sequences are tweaked to safeguard
      against changing back without having actually changed to,
      just in case.
      
      features.in/Makefile left with pushd/popd due to its
      three-level diving course (which somewhat asks to be
      refactores in functions either but is intrinsically
      somewhat complex OTOH).
      7919df82
    • Michael Shigorin's avatar
      COMMON_PACKAGES and SYSTEM_PACKAGES · 774169c6
      Michael Shigorin authored
      It was clear that "common" isn't very apt for packages that
      will get *everywhere*, and became apparent when the need for
      a "base+live packages" variable arrived with powerbutton feature.
      
      So:
      - the former COMMON_PACKAGES are now SYSTEM_PACKAGES;
      - COMMON_PACKAGES act as "BASE+LIVE_PACKAGES".
      
      Note that SYSTEM_PACKAGES also got factored out from stage2 based
      features into stage2 subprofile itself; cleanups were due as well.
      774169c6
    • Michael Shigorin's avatar
      cosmetic fixup (s/GROUPS/MAIN_GROUPS/g) · b56df316
      Michael Shigorin authored
      MAIN_GROUPS should align better along with MAIN_PACKAGES
      and MAIN_LISTS (even if MAIN_ prefix might be suboptimal
      given that these packages are essentially extras within
      the particular image).
      b56df316
    • Michael Shigorin's avatar
      improved logging during profile creation · 3a5b47e7
      Michael Shigorin authored
      - better *_LISTS printout
      - somewhat cleaner .base comments
      - more comprehensible git log messages
        + special handling for complex subprofiles
        + no need to commit build.log ;-)
      3a5b47e7
    • Michael Shigorin's avatar
      .base rehashed, DISK_LISTS renamed, etc · 5f881522
      Michael Shigorin authored
      In particular:
      - .base is now generated from pieces (see image.in/Makefile)
      - s/DISTROS/IMAGES/g; s/CONFIGS/DISTROS/g (for clarity)
      - s/DISK_LISTS/MAIN_LISTS/g ("disk" was early m-p-d legacy)
      - introduced BASE_PACKAGES to complement BASE_LISTS
      - minor tweaks to Makefile (ARCH and DATE moved elsewhere)
      - libdistro.mk: dropped overlooked IMAGE_INIT_LIST copy
      - clean.mk: silly cleanup
      5f881522
    • Michael Shigorin's avatar
      kernel and BUILDDIR fixes · c2f70e5c
      Michael Shigorin authored
      - image.in/functions.mk: rework kpackage()
        + it takes two arguments explicitly now: this adds some noise
          for "generic" invocations but is rather less messy with recently
          introduced STAGE1_KFLAVOUR (which in its turn is rather cleaner
          than messing with KFLAVOURS, especially since soemthing changed
          in presumably apt and we can't rely on kernel packages being
          installed in the order formed).
      - BUILDDIR/DEBUG related fixes
        + Makefile: BUILDDIR initialization moved to distro.mk
      - build.log += git info
      c2f70e5c
    • Michael Shigorin's avatar
      server-ovz; KDEFAULT; syslinux features reworked · 3f012958
      Michael Shigorin authored
      Renamed server-light.iso into server-ovz.iso to avoid brand dilution
      and confusion (rider@'s server-light rather favours kvm, anyways).
      
      Introduced KDEFAULT: a reliable default kernel chooser knob
      since apt's regex ordering proved pretty unreliable.
      Spelling things explicitly is better anyways.
      
      SYSLINUX related features undergone pretty major rewrite
      (that includes syslinux, hdt and memtest).
      
      The problem to tackle was features.in/syslinux/generate.mk
      assuming syslinux and pciids available in build *host* system;
      this well might not be the case (or worse yet, those can be
      just different).  So now we're a bit less elegant and a bit
      more enterprise, stuffing things into chroot and working there.
      
      Bunch of other fixes along the road, including ; to name a few:
      - fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
      - new and shiny doc/CodingStyle
      - gfxboot, stage1 target chain, hdt tweaks
      - distro.mk rehashed
      - README++
      - TODO: dropped (integer overflow anyways)
        + actually moved off-tree to reduce commit spam
      - s,\.config\.mk,distcfg.mk,g
      - doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
      - ...and assorted fixups/additions
      
      Sorry for convoluted commit, this would have been pretty hard to
      rework into some really readable shape (and you might be interested
      in the original repo's history horrors then, anyways).
      3f012958
    • Michael Shigorin's avatar
      assorted fixups · ace5cb0f
      Michael Shigorin authored
      - more thorough build stages inline doc
      - quieter BUILDDIR instantiation
      - branding-altlinux-sisyphus by default
      - prettify installer selection somewhat
      - mkimage #24669 fixed upstream
      - sub.in/stage1/modules: +drm (as in m-p-d, for KMS)
      - tags2lists: generalize a bit
      ace5cb0f
  29. 03 Nov, 2011 4 commits