-
- Downloads
pmbootstrap build --src: override source for any package (#1210)
* New "pmbootstrap build --src=/local/source/path hello-world" syntax * The local source path gets mounted inside the chroot * From there, a copy of the source code gets created with rsync (so we can write into the source folder if necessary, for better compatibility with all kinds of APKBUILDs) * After the aport gets copied into the chroot before building (as usually), we extend the APKBUILD with overrides to make it use mountpoint's source instead of downloading the package's source from the web as usually * The package built with the local source gets _pYYYYMMDDHHMMSS appended to the pkgver * linux-postmarketos-mainline: use $builddir, fix patch checksum
Showing
- aports/main/linux-postmarketos-mainline/APKBUILD 6 additions, 6 deletionsaports/main/linux-postmarketos-mainline/APKBUILD
- pmb/build/_package.py 109 additions, 7 deletionspmb/build/_package.py
- pmb/helpers/frontend.py 8 additions, 2 deletionspmb/helpers/frontend.py
- pmb/helpers/mount.py 7 additions, 2 deletionspmb/helpers/mount.py
- pmb/parse/arguments.py 5 additions, 0 deletionspmb/parse/arguments.py
- test/test_build_package.py 72 additions, 0 deletionstest/test_build_package.py
- test/test_frontend.py 38 additions, 0 deletionstest/test_frontend.py
- test/testdata/build_local_src/APKBUILD 31 additions, 0 deletionstest/testdata/build_local_src/APKBUILD
Loading
Please register or sign in to comment