LoginSignup
1
0

More than 1 year has passed since last update.

CBL-MarinerのインストールISOのビルド手順

Last updated at Posted at 2021-07-29

0.初めに

2021/07/29時点でやってみた内容です。

CBL-Marinerのインストール手順ではなく
インストールISOをビルドする手順です。

1.ビルド環境

Ubuntu 20.04でビルドします。

※Dockerなどのコンテナ環境は不可
※WSL環境の場合はWSL2で動作していること(WSL1環境は不可)

2.ビルドに必要なパッケージをインストール

$ sudo apt update -y
$ sudo apt upgrade -y
$ sudo apt install -y make tar wget curl rpm qemu-utils golang-go genisoimage python2-minimal bison gawk

3.ビルドに必要なファイルのダウンロードと展開

$ mkdir ~/src
$ cd ~/src
$ wget https://github.com/microsoft/CBL-Mariner/archive/refs/tags/1.0.20210628-1.0.tar.gz
$ tar zxf 1.0.20210628-1.0.tar.gz

4.ビルド

$ cd ~/src/CBL-Mariner-1.0.20210628-1.0/toolkit
$ sudo make iso REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full.json

5.ビルドされたインストールISOの場所

~/src/CBL-Mariner-1.0.20210628-1.0/out/images/full/full-1.0.20210729.0613.iso
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0