使用manjaro-tools_buildiso_liveiso
差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版前次修改 下次修改 | 前次修改 | ||
使用manjaro-tools_buildiso_liveiso [2021/06/29 04:06] – fire | 使用manjaro-tools_buildiso_liveiso [2021/06/29 16:13] (目前版本) – [Prepare packages from AUR] fire | ||
---|---|---|---|
行 56: | 行 56: | ||
Include = / | Include = / | ||
---- | ---- | ||
- | cd /srv/http/localhost/repository/online-repo/ | + | |
- | cp -a /var/cache/pacman/ | + | ==== Prepare packages from AUR ==== |
+ | == https:// | ||
+ | 使用預設的 / | ||
+ | 使用一般帳號。\\ | ||
+ | < | ||
+ | cd ~/pkgbuild | ||
+ | git clone https://aur.archlinux.org/google-chrome | ||
+ | buildpkg -p google-chrome< | ||
+ | < | ||
+ | \\ | ||
+ | 在下載編譯 google-chrome 之前,會先安裝一個 chroot 環境,/ | ||
+ | 在其中安裝必要的套件然後編譯 google-chrome。 | ||
+ | == 後記:安裝 iso 和製作 aur 套件最好同一個 chroot 環境,否則安裝套件可能出問題(檔案毀損)。 == | ||
+ | |||
+ | |||
+ | |||
+ | (su)< | ||
+ | 06-29 21:33 [root@92cafe pkgbuild]# cp /var/cache/manjaro-tools/pkg/ | ||
+ | 06-29 21:33 [root@92cafe x86_64]# repo-add online-repo.db.tar.gz *.pkg.tar.* | ||
+ | ==> Extracting online-repo.db.tar.gz to a temporary location... | ||
+ | ==> Extracting online-repo.files.tar.gz to a temporary location... | ||
+ | ==> Adding package ' | ||
+ | ==> WARNING: A newer version for ' | ||
+ | -> Computing checksums... | ||
+ | -> Removing existing entry ' | ||
+ | -> Creating ' | ||
+ | -> Creating ' | ||
+ | ==> Adding package ' | ||
+ | -> Computing checksums... | ||
+ | -> Removing existing entry ' | ||
+ | -> Creating ' | ||
+ | -> Creating ' | ||
+ | ==> Creating updated database file ' | ||
+ | </ | ||
+ | |||
+ | 製作 online_repo 參考檔案:< | ||
+ | [feuer@92cafe iso-profiles]$ cat ~/ | ||
+ | [online-repo] | ||
+ | SigLevel = Never | ||
+ | Server = http:// | ||
+ | </ | ||
+ | |||
+ | 把 / | ||
+ | chroots_dir=/ | ||
+ | build_mirror=http:// | ||
+ | 把 ~/ | ||
---- | ---- | ||
==== buildiso ==== | ==== buildiso ==== | ||
- | 執行 buildiso | + | 執行 buildiso -p cinnamon |
使用manjaro-tools_buildiso_liveiso.1624939584.txt.gz · 上一次變更: 2021/06/29 04:06 由 fire