New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brute

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brute

minimalist rootfs building utilities (for initramfs and such)

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

brute

minimalist rootfs building utilities (for initramfs and such)

API

source brute/index.sh
root=/tmp/buildroot
if ! [[ "$(file -b /boot/vmlinuz-linux)" =~ "^Linux kernel[^,]*, version (\S+)" ]]; then
  echo "can't detect kernel version!" >&2
  exit 1
fi
kernel_version="${BASH_REMATCH[1]}"

add [path]

add just the given path to the root. if the parents are missing, they will be added recursively. if the path is a symlink, then the canonical path and a symlink will be added.

add_file [path]

alias to add

adds a relative symlink from source to target to the root.

add_directory [path]

recursively adds the files and subdirectories of the given path.

add_binary [path]

adds the given binary to the root, along with its dependencies (dynamic libraries, or the interpreter if it starts with #!)

add_module [name]

adds the given Linux kernel module to the root, along with its dependencies (firmware and other modules). this uses $kernel_version.

add_firmware [name]

adds /lib/firmware/$name to the root.

FAQs

Package last updated on 31 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc