view xv6-aauefi.def @ 1:b4cd5b4e571a

add uefi boot on qemu
author kono
date Thu, 18 Jan 2024 11:20:51 +0900
parents 07bbca19ea77
children 04d36d597077
line wrap: on
line source

BootStrap: docker
From: ubuntu:22.04

%post
    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 \
        tzdata \
        mercurial \
        python3-pip \
        iasl \
        nasm \
    zsh \
    vim \
    wget
    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