Skip to content

Instantly share code, notes, and snippets.

@jtanx
Last active March 2, 2018 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtanx/6bb5db7f4dad80fb453af1554b7f7e06 to your computer and use it in GitHub Desktop.
Save jtanx/6bb5db7f4dad80fb453af1554b7f7e06 to your computer and use it in GitHub Desktop.
Creating the MSYS2 base package from scratch

MSYS2 base package

This is one method to create the base package required to bootstrap an msys2 environment. I'm not sure if it's the official way.

Note: You'll have to run this from an existing msys2 installation.

mkdir -p msys64/var/lib/pacman
pacman -r msys64 -Sy base
XZ_OPT=-9 tar cJf base.tar.xz msys64
# Distribute at will
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment