Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M mkinitcpio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • Mkinitcpio
  • mkinitcpio
  • Merge requests
  • !23

Remove hexdump usage

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Kristian Klausen requested to merge github/fork/E5ten/no-hexdump into master May 20, 2020
  • Overview 9
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: E5ten

lsinitcpio: Use read to get the first 6 bytes, convert them to hex, and compare them to the hex versions of the magic bytes of each compression format Replace the kernel version offset determination using hexdump with dd to skip bytes, and printf to convert the bytes to decimal

Edited Nov 11, 2022 by nl6720
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/E5ten/no-hexdump