Skip to content
Snippets Groups Projects
Commit 31d8029a authored by Bensong Liu's avatar Bensong Liu
Browse files

change ubuntu to archlinux to fix CI problem

parent 854088ea
No related branches found
No related tags found
No related merge requests found
Pipeline #828 passed with stage
in 7 minutes and 41 seconds
image: ubuntu image: archlinux/base
before_script: before_script:
- apt update - pacman -Sy
- apt install -y nasm g++ make - pacman -S --noconfirm nasm gcc make
build32: build32:
script: script:
......
...@@ -10,10 +10,6 @@ endif ...@@ -10,10 +10,6 @@ endif
assemble: kernel head assemble: kernel head
ld -o kernel.img -Ttext 0x7e00 --oformat binary image_head.o kernel.o -m elf_$(ARCH) ld -o kernel.img -Ttext 0x7e00 --oformat binary image_head.o kernel.o -m elf_$(ARCH)
# Sector 1 = bootloader, Sector 2 - (512B TO 64K) = kernel
# Extend kernel.img to correct size.
test $$(stat -c %s kernel.img) -le 65024
truncate --size=65024 kernel.img
head: head:
nasm -f elf$(BITS) -DTARGET_BITS=$(BITS) image_head.asm -o image_head.o nasm -f elf$(BITS) -DTARGET_BITS=$(BITS) image_head.asm -o image_head.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment