Crearea unei imagini petalinux

De la YO3ITI
Versiunea din 4 noiembrie 2026 22:59, autor: Yo3iti (discuție | contribuții) (Pagină nouă: Înainte de orice build trebuie setat parametrul <code>kernel.apparmor_restrict_unprivileged_userns</code> pentru a permite utilizarea ''namespace''-urilor utilizator (nu sudo): <syntaxhighlight lang="zsh"> # Allow the user namespaces required by BitBake during the build. sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 # Retry the image build; completed tasks will be reused where possible. petalinux-build # Restore the host restriction after the build comma...)
(dif) ← Versiunea anterioară | Versiunea curentă (dif) | Versiunea următoare → (dif)
Sari la navigare Sari la căutare

Înainte de orice build trebuie setat parametrul kernel.apparmor_restrict_unprivileged_userns pentru a permite utilizarea namespace-urilor utilizator (nu sudo):

# Allow the user namespaces required by BitBake during the build.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

# Retry the image build; completed tasks will be reused where possible.
petalinux-build

# Restore the host restriction after the build command finishes.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=1