Skip to content

Instantly share code, notes, and snippets.

@MayamaTakeshi
Created February 21, 2024 00:14
Show Gist options
  • Save MayamaTakeshi/18ae4403d914af13b8aa9a07bc780591 to your computer and use it in GitHub Desktop.
Save MayamaTakeshi/18ae4403d914af13b8aa9a07bc780591 to your computer and use it in GitHub Desktop.
Building micro-config-drive on Debian 8 (Jessie)
apt install libglib2.0-dev
apt install git
apt install autogen
apt install build-essential
apt install autoconf
apt install libyaml-dev
apt install libjson-glib-1.0
apt install libjson-glib-dev
apt install libparted-dev
apt install check
cd /usr/local/src/
mkdir git
cd git
# install check (version from apt is old):
apt install cmake
git clone https://github.com/libcheck/check.git
cd check/
git checkout 0.10.0
autoreconf --install
./configure
make
make install
# install micro-config-drive (cloud-init)
cd /usr/local/src/git/
git clone https://github.com/clearlinux/micro-config-drive
cd micro-config-drive/
./autogen.sh
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment