Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M manjaro-arm-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • manjaro-armmanjaro-arm
  • applications
  • manjaro-arm-tools
  • Merge requests
  • !13

Various improvements and rewrite local packages function

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ghost User requested to merge add_packages-rework into master Jun 27, 2022
  • Overview 0
  • Commits 9
  • Pipelines 0
  • Changes 10

Perform various small cleanups, as spotted, which include proper indentation, uniform style of function and variable names, some improvements to the produced help messages and comments in the code, removal of redundant parameters for the "cp -a" invocations, removal of the redundant trailing slashes, simplification of redundant "1>" redirections, small code readability improvements, and quite a bit of other small coding style cleanups.

Perform a rewrite of the entire logic that handles local packages that are to be installed to the root filesystem in the images. Previously, that logic was overly complex and somewhat broken, more specifically it performed various redundants operations, and it did not work under certain conditions because it expected the local packages to be actually present in the pacman cache, etc.

At the same time, call the verify_local_packages() function in "bin/buildemmcinstaller" as well, to have the same check as the one that's already performed in the "bin/buildarmimg" and "bin/buildarmpkg" files.

Signed-off-by: Dragan Simic dsimic@manjaro.org

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add_packages-rework