Skip to content

Commit 225506d

Browse files
committed
.
1 parent a051131 commit 225506d

43 files changed

Lines changed: 263 additions & 144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-ArchLinux-ARM.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
working-directory: ${{ env.WORKING_DIR }}
3535
run: |
3636
axel -q4n 5 ${{ env.DOWNLOAD_URL }} -o ArchLinuxARM-aarch64.tar.gz
37+
axel -q4n 5 https://github.com/trapd00r/LS_COLORS/raw/master/lscolors.sh
3738
3839
- name: Build Arch Linux ARM Image
3940
id: build

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,13 @@ make_image() {
7474
cp -af ${BOOT_FILES}/* mnt/boot
7575
bsdtar -xpf ${ARCHLINUXARM_TARBALL_FILE} -C mnt
7676
cp -af ${PATCH_FILES}/* mnt/
77+
[ -f ${WORKING_DIR}/lscolors.sh ] && cp ${WORKING_DIR}/lscolors.sh mnt/etc && chmod +x mnt/etc/lscolors.sh
78+
79+
cat mnt/etc/_bashrc >> mnt/etc/bash.bashrc && rm mnt/etc/_bashrc
7780

7881
# Modify mkinitcpio
7982
sed -i "s/PRESETS=.*/PRESETS=('default')/" mnt/etc/mkinitcpio.d/linux-aarch64.preset
83+
sed -i 's/ALL_kver=.*/ALL_kver="\/boot\/Image"/' mnt/etc/mkinitcpio.d/linux-aarch64.preset
8084
sed -i '/^[^#]/ s/\(^fallback_.*$\)/#\1/' mnt/etc/mkinitcpio.d/linux-aarch64.preset
8185

8286
# cleaning up

src/boot-files2/aml_autoscript

-709 Bytes
Binary file not shown.

src/boot-files2/aml_autoscript.cmd

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/boot-files2/boot-emmc.cmd

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/boot-files2/boot-emmc.ini

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/boot-files2/boot-emmc.scr

-1 KB
Binary file not shown.

src/boot-files2/boot.bmp

-37.6 KB
Binary file not shown.

src/boot-files2/boot.cmd

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/boot-files2/boot.ini

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)