view xv6-aauefi.def @ 4:8832d937a490 default tip

add CbC
author kono
date Thu, 01 Feb 2024 15:56:24 +0900
parents 04d36d597077
children
line wrap: on
line source

BootStrap: docker
From: ubuntu:22.04

%post
    echo 'deb [trusted=yes] http://firefly.cr.ie.u-ryukyu.ac.jp/debs stable main' > /etc/apt/sources.list.d/firefly.list
    echo 'Acquire::http { Proxy "http://apt-cache.ie.u-ryukyu.ac.jp:3142"; };' >> /etc/apt/apt.conf.d/01proxy
    apt-get update
    apt-get upgrade -y
    DEBIAN_FRONTEND=noninteractive \
    apt-get install -y \
        qemu-utils \
	clang \
	cmake \
        qemu-efi-aarch64 \
        qemu-system-aarch64 \
        build-essential \
        uuid-dev \
        git \
        gdb-multiarch \
        tzdata \
        mercurial \
        python3-pip \
        iasl \
        nasm \
        zsh \
        vim \
        wget
    DEBIAN_FRONTEND=noninteractive \
    apt-get install -y cbclang
    DEBIAN_FRONTEND=noninteractive \
    apt-get install -y \
        crossbuild-essential-armhf \
        crossbuild-essential-arm64 \
        gcc-aarch64-linux-gnu \
        binutils-aarch64-linux-gnu 
        
    cd /usr/local/src
    # git clone --recursive https://github.com/tianocore/edk2
    wget "https://sourceforge.net/projects/gnu-efi/files/gnu-efi-3.0.15.tar.bz2/download"
    tar xf download