使用者工具

網站工具


使用manjaro-tools_buildiso_liveiso

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版前次修改
下次修改
前次修改
使用manjaro-tools_buildiso_liveiso [2021/06/29 15:10] – [Prepare packages from AUR] fire使用manjaro-tools_buildiso_liveiso [2021/06/29 16:13] (目前版本) – [Prepare packages from AUR] fire
行 65: 行 65:
 git clone https://aur.archlinux.org/google-chrome git clone https://aur.archlinux.org/google-chrome
 buildpkg -p google-chrome</code> buildpkg -p google-chrome</code>
-<[[buildpkg_google-chrome.log]]>+<[[buildpkg_google-chrome.log]]>\\ 
 +\\
 在下載編譯 google-chrome 之前,會先安裝一個 chroot 環境,/var/lib/manjaro-tools/buildpkg/stable/x86_64/root; 在下載編譯 google-chrome 之前,會先安裝一個 chroot 環境,/var/lib/manjaro-tools/buildpkg/stable/x86_64/root;
 在其中安裝必要的套件然後編譯 google-chrome。 在其中安裝必要的套件然後編譯 google-chrome。
 +== 後記:安裝 iso 和製作 aur 套件最好同一個 chroot 環境,否則安裝套件可能出問題(檔案毀損)。 ==
 +
  
  
 (su)<code> (su)<code>
-06-29 21:33 [root@92cafe pkgbuild]# cp /var/cache/manjaro-tools/pkg/stable/x86_64/google-chrome-91.0.4472.114-1-x86_64.pkg.tar.zst  /srv/http/localhost/repository/online-repo/x86_64/+06-29 21:33 [root@92cafe pkgbuild]# cp /var/cache/manjaro-tools/pkg/stable/x86_64/google-chrome-91.0.4472.114-1-x86_64.pkg.tar.zst  /srv/http/localhost/repository/AUR/stable/online-repo/x86_64/
 06-29 21:33 [root@92cafe x86_64]# repo-add online-repo.db.tar.gz *.pkg.tar.* 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.db.tar.gz to a temporary location...
行 91: 行 94:
 製作 online_repo 參考檔案:<code> 製作 online_repo 參考檔案:<code>
 [feuer@92cafe iso-profiles]$ cat ~/iso-profiles/community/cinnamon/user-repos.conf  [feuer@92cafe iso-profiles]$ cat ~/iso-profiles/community/cinnamon/user-repos.conf 
-http://localhost/repository/online-repo/$repo/$arch</code>+[online-repo] 
 +SigLevel = Never 
 +Server = http://localhost/repository/AUR/$repo/$arch 
 +</code>
  
 把 /etc/manjaro-tools/manjaro-tools.conf 改回自訂 repo source:<code> 把 /etc/manjaro-tools/manjaro-tools.conf 改回自訂 repo source:<code>
使用manjaro-tools_buildiso_liveiso.1624979415.txt.gz · 上一次變更: 2021/06/29 15:10 由 fire