Release Notes for Alpine 3.12.0: Difference between revisions
(→aports) |
(→abuild) |
||
Line 38: | Line 38: | ||
== abuild == | == abuild == | ||
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion ===== | |||
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages. | |||
Expected location of the completion files per shell: | |||
* Bash -> <code>/usr/share/bash-completion/completions</code> | |||
* Zsh -> <code>/usr/share/zsh/site-functions</code> | |||
* Fish -> <code>/usr/share/fish/completions</code> | |||
Files must be installed in the expected location in relation to '''$pkgdir''' in '''pacakge()'''. | |||
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f]. | |||
===== newapkbuild when called with CMake (-C) does out-of-source builds by default ===== | |||
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now adds <code>-B build</code> to the <code>cmake</code> call in '''build()'''. It also adds <code>-C build</code> the <code>make</code> calls. | |||
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8]. |
Revision as of 04:49, 17 February 2020
aports
OpenRC now has a sane ordering of directories when loading kernel modules
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.
- /etc/modules
- /etc/modules-load.d/*.conf
- /run/modules-load.d/*.conf
- /usr/lib/modules-load.d/*.conf
- /lib/modules-load.d/*.conf
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.
With the changes to the modules service the new ordering of directories is:
- /lib/modules-load.d/*.conf
- /usr/lib/modules-load.d/*.conf
- /etc/modules
- /etc/modules-load.d/*.conf
- /run/modules-load.d/*.conf
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.
Note that /etc/modules cannot be overridden and only exists because of historical precedent.
Telegram Desktop is now available in the community repo
See commit that moved the package to the community repo for explanation.
efitools and sbsigntool are now in main/
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.
abuild
Add default functions for subpackages that hold Bash, Zsh and Fish completion
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.
Expected location of the completion files per shell:
- Bash ->
/usr/share/bash-completion/completions
- Zsh ->
/usr/share/zsh/site-functions
- Fish ->
/usr/share/fish/completions
Files must be installed in the expected location in relation to $pkgdir in pacakge().
Introduced in d5826968b713123a4f51d3dec1adb1225d0e194f.
newapkbuild when called with CMake (-C) does out-of-source builds by default
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now adds -B build
to the cmake
call in build(). It also adds -C build
the make
calls.
Introduced in e125a764896d884c69cc409e614b65cb336c15e8.