Giter VIP home page Giter VIP logo

archlinuxarm-rpi-aarch64's Introduction

简介

  • 本项目用于每天自动生成 树莓派ArchLinuxARM aarch64 系统镜像
  • 生成的镜像包含树莓派官方的闭源固件

下载地址

安装了以下软件包及其依赖

base linux-rpi raspberrypi-bootloader crda dhcpcd dialog haveged iptables-nft nano net-tools netctl openssh rpi-eeprom vi which wireless_tools wpa_supplicant

启用了以下服务

haveged sshd systemd-networkd systemd-resolved systemd-timesyncd

基本相当于官方 rpi-aarch64 镜像安装了 linux-rpi

IMG文件的额外订制

添加并启用了 resize2fs_once.service

[Unit]
Description=Resize the root filesystem to fill partition

[Service]
Type=oneshot
ExecStart=/usr/local/bin/growpart /dev/mmcblk0 2 ; /usr/sbin/resize2fs /dev/mmcblk0p2
ExecStartPost=/usr/bin/systemctl disable resize2fs_once.service ; /usr/bin/rm -rf /etc/systemd/system/resize2fs_once.service /usr/local/bin/growpart

[Install]
WantedBy=multi-user.target

该文件会将 root 分区扩展至整张sd卡并在完成后将自身删除

添加了来自 cloud-guest-utilsgrowpart ,该文件在首次开机时被 resize2fs_once.service 使用后删除

使用方式

root 的密码是 root

alarm 的密码是 alarm

默认没有安装 sudo ,所以通过 ssh 登录系统后需要 su 来获得 root 权限

archlinuxarm-rpi-aarch64's People

Contributors

burningc4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.