tsukumijima / quastation-ubuntu Goto Github PK
View Code? Open in Web Editor NEWQua Station 向けの Linux カーネルのビルドと、Ubuntu 20.04 LTS の rootfs の構築を全自動で行うスクリプト
Qua Station 向けの Linux カーネルのビルドと、Ubuntu 20.04 LTS の rootfs の構築を全自動で行うスクリプト
初イシューのためご無礼や無作法などございましたら申し訳ございません。
今更QuaStationと思われてしまうかもしれませんが本makeファイル群を使用してカーネルとrootfsを構築しようとしたのですが、apt系がリポジトリURLが変わっているなどで失敗し、その後の動作が殆ど失敗してしまいます。
リポジトリのURLは自分で新URLに書き換えてみたのですが動作しませんでした。
# apt パッケージのダウンロード先サーバーを変更
## 標準の http://ports.ubuntu.com/ubuntu-ports/ は結構遅いが、残念ながら日本には arm64 向けのパッケージを置いているミラーはない
## 調べたところ https://mirror.yuki.net.uk//ubuntu-ports/ (韓国にあるサーバーらしい) が一番速かったので、とりあえずこれを使う
## ref: https://zenn.dev/tetsu_koba/articles/c980cb3371c4bb
cat <<EOF > /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb https://mirror.yuki.net.uk//ubuntu-ports/ focal main restricted
# deb-src https://mirror.yuki.net.uk//ubuntu-ports/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb https://mirror.yuki.net.uk//ubuntu-ports/ focal-updates main restricted
# deb-src https://mirror.yuki.net.uk//ubuntu-ports/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb https://mirror.yuki.net.uk//ubuntu-ports/ focal universe
# deb-src https://mirror.yuki.net.uk//ubuntu-ports/ focal universe
deb https://mirror.yuki.net.uk//ubuntu-ports/ focal-updates universe
# deb-src https://mirror.yuki.net.uk//ubuntu-ports/ focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb https://mirror.yuki.net.uk//ubuntu-ports/ focal multiverse
Ubuntuのバージョンに関しては22.04に変更してみました
# ベースにする Ubuntu Base 22.04 LTS をダウンロード
wget http://ftp.jaist.ac.jp/pub/Linux/ubuntu-cdimage/ubuntu-base/releases/22.04/release/ubuntu-base-22.04.4-base-arm64.tar.gz
tar xvf ubuntu-base-22.04.4-base-arm64.tar.gz -C usbflash/rootfs/ && rm ubuntu-base-22.04.4-base-arm64.tar.gz
ボタンやその他デバイスがほぼ全て利用できるとのことでとても魅力的に感じているのでどうか更新をお願いできないでしょうか。
pwd
:/build/ quastation-ubuntu /bin/bash -c 'make build-ubuntu-rootfs-in-container'--2023-01-21 19:00:35-- http://ftp.jaist.ac.jp/pub/Linux/ubuntu-cdimage/ubuntu-base/releases/20.04/release/ubuntu-base-20.04.4-base-arm64.tar.gz
Resolving ftp.jaist.ac.jp (ftp.jaist.ac.jp)... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to ftp.jaist.ac.jp (ftp.jaist.ac.jp)|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26228459 (25M) [application/x-gzip]
Saving to: 'ubuntu-base-20.04.4-base-arm64.tar.gz'
ubuntu-base-20.04.4 100%[===================>] 25.01M 12.0MB/s in 2.1s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.