Files
chromebrew/tools
Satadru Pramanik 08ba24fef7 docker + podman + distrobox DEPENDENCY ONLY rebuilds & updates for x86_64 and armv7l (#7824)
* docker rebuilds & updates for x86_64 and armv7l

* remove go dep

* add working i686 go_md2man binary

* add all possible i686 builds

* add binary, update packages.yaml

* suggested changes

* suggested changes

* add proper containerd binaries

* update and rebuild containers_common

* add catatonit

* add podman

* add distrobox

* add conmon

* fix deps

* rebuild podman

* rebuild lvm2, adjust podman build parameters

* add binaries

* fixup containers_common

* revamp containers_common again

* add policy.json symlink to containers_common

* adjust podman

* rebuild libbpf

* update defaults in containers_common

* fix tz

* Add logic for creating local container policy file

* move local container policy file logic to containers_common

* adjust logic

* adjust logic

* update logic

* adjust logic

* adjust logic

* adjust logic

* adjust logic

* update podman paths

* rebuild podman

* podman rebuild

* rebuilds

* fix hashes

* cni rebuild

* add runc dep to podman

* lint

* remove docker, podman, and distrobox

* remove removed packages from packages.yaml
2023-01-10 18:19:57 -06:00
..
2021-04-14 23:13:47 -04:00
2022-08-22 13:31:25 -04:00
2022-05-29 17:17:01 -04:00
2018-10-19 07:01:08 -04:00
2017-08-28 12:10:53 +09:00
2021-04-14 23:13:47 -04:00

list of all tools

Tools to build pre-build binary easy.

  • Makefile
  • build.sh
  • genpkgname.sh

Tools to upload and update URL in package files.

  • chkfrog.sh
  • upfrog.sh
  • upload_github_release.sh

Tools to check URL or SHA stuff from packages files.

  • create_sha_list.sh
  • create_url_list.sh

Obsolete tools to create package. Now, we use crew build.

  • create_package.sh

Usage of Makefile

Make working directory on your Chromebook and copy files there. Then, performs make there.

$ mkdir /usr/local/work
$ cd /usr/local/work
$ cp your-path-for-original-tool-directory/{Makefile,build.sh,genpkgname.sh} .
$ make -k

Usage of upfrog.sh

First, compile jfrog CLI from https://www.jfrog.com/getcli/. Then, set it up. After that, copy compiled pre-built binary to release/$ARCH.

$ ./tools/upfrog.sh pango-1.40.9
[Info] Verifying repository chromebrew exists...
[Info] Verifying package pango exists...
[Info] Verifying version 1.40.9 exists...
[Info] Creating version...
[Info] Created version 1.40.9.
[Info] Collecting files for upload:. Done.
[Info] [Thread 2] Uploading artifact: release/x86_64/pango-1.40.9-chromeos-x86_64.tar.xz
[Info] [Thread 0] Uploading artifact: release/armv7l/pango-1.40.9-chromeos-armv7l.tar.xz
[Info] [Thread 1] Uploading artifact: release/i686/pango-1.40.9-chromeos-i686.tar.xz
[Info] Uploaded 3 artifacts.
[Info] Publishing version...
[Info] Published version 1.40.9, details:
{
  "files": 3
}

Usage of chkfrog.sh

Copy compiled pre-built binary's SHA256 files to release/$ARCH.

$ ./tools/chkfrog.sh pango
pango 1.40.9
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-x86_64.tar.xz : c90a74dcba01ac1731aca5879b5b54dc9e1c49c3f61ec5f2861384db2bafa4eb
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-i686.tar.xz : c24290af6d40c9fe1b9797942941e5a181533574188678b8f1f6f6a9ea319ba4
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-armv7l.tar.xz : 60fb01a75558724abfbd879cef6877fca2ca17d802abeca7c487bb9d8b75a08c