Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
First version of efi.img
Browse files Browse the repository at this point in the history
  • Loading branch information
olljanat committed Feb 20, 2021
0 parents commit d31c71b
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: release

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install github-release
run: |
sudo wget https://github.com/github-release/github-release/releases/download/v0.9.0/linux-amd64-github-release.bz2 -O /usr/local/bin/github-release.bz2
sudo bunzip2 /usr/local/bin/github-release.bz2
sudo chmod 0755 /usr/local/bin/github-release
- name: Install syslinux-efi
run: |
sudo apt-get update
sudo apt-get install -y syslinux-efi
- name: Generate efi.img
run: |
mkdir -p EFI/BOOT
cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi EFI/BOOT/BOOTX64.EFI
cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 EFI/BOOT/LDLINUX.E64
dd if=/dev/zero of=efi.img bs=1M count=3
mkdosfs -n ESP efi.img
mkdir -p efi-img
sudo mount -o loop efi.img efi-img
sudo cp -r EFI efi-img/
sudo umount efi-img
- name: Release efi.img
run: |
VERSION=`date +%Y-%m-%d`
github-release release --user burmilla --repo os-uefi --tag ${VERSION} --pre-release
github-release upload --user burmilla --repo os-uefi --tag ${VERSION} --file efi.img --name efi.img
env:
GITHUB_TOKEN: ${{ secrets.OS_RELEASE_TOKEN }}
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# UEFI

UEFI boot files for [BurmillaOS](//github.com/burmilla/os)

## License

Copyright (c) 2020-2021 Project Burmilla

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

0 comments on commit d31c71b

Please sign in to comment.