1 Star 0 Fork 5

water / debootstrap-la

forked from bexsd / debootstrap-la 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

debootstrap-la

介绍

  • 交叉编译构建loongarch64的bootstrap
  • 运行平台:amd64平台,debian11系统

软件架构

pbuilder + rebootstrap + loongarch patch

安装教程

终端一
> sudo apt update
> sudo apt install pbuilder 
> git clone https://gitee.com/bexsder/debootstrap-la.git
> export PATH=/usr/sbin:$PATH
> sudo pbuilder create
> sudo pbuilder login

终端二
> sudo cp -v debootstrap-la/rebootstrap/bootstrap.sh /var/cache/pbuilder/build/xxxxxx/

回到终端一
> ./buildstrap.sh HOST_ARCH=loongarch64 GCC_VER=12
 

使用说明

  • “回到终端一”,运行脚本后会自动运行交叉编译和bootstrap构建。
  • 脚本运行时,会使用reprepro 建立两个本地软件仓库,用于保存临时生成的deb文件。
  • 脚本运行时,需要一个用于下载安装amd64平台的构建所需的依赖软件包的外部软件仓库。
  • 脚本运行时,也需要一个用于下载源代码包的外部仓库,可以用reprepro在chroot外配置一个代码仓库。
  • 源代码需要提前准备好,放到配置的代码仓库里,debian规则文件可使用项目提供的,也可以自己修改。
  • 脚本获取软件包和代码,默认都是用sid仓库,所以要提前配置好。

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
MIT License Copyright (c) 2022 bexsd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

构建loongarch64的bootstrap 展开 收起
Shell
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/water_fish/debootstrap-la.git
git@gitee.com:water_fish/debootstrap-la.git
water_fish
debootstrap-la
debootstrap-la
master

搜索帮助