Giter Club home page Giter Club logo

quastation-ubuntu's Issues

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

ボタンやその他デバイスがほぼ全て利用できるとのことでとても魅力的に感じているのでどうか更新をお願いできないでしょうか。

chroot: failed to run command '/bin/bash': Exec format error when make build-ubuntu-rootfs

Kernelのビルドは問題なくできますが、ルートファイルシステムはこのようのエラーが出ます。
shiruba@kaminari:~/dev/QuaStation-Ubuntu$ make build-ubuntu-rootfs
docker run --privileged --rm -i -t -h QuaStation -v pwd:/build/ quastation-ubuntu /bin/bash -c 'make build-ubuntu-rootfs-in-container'

Building Ubuntu 20.04 LTS rootfs...

--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

2023-01-21 19:00:37 (12.0 MB/s) - 'ubuntu-base-20.04.4-base-arm64.tar.gz' saved [26228459/26228459]
bin
boot/
dev/
etc/
etc/.pwd.lock
etc/adduser.conf
...
chroot: failed to run command '/bin/bash': Exec format error

Ubuntu 20.04 LTS rootfs build is completed.

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.