reserved-usernames: build using latest version from user-setup.git

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-09-22 11:00:29 +02:00
parent c063717897
commit b45f47acf2
1 changed files with 7 additions and 1 deletions

View File

@ -159,9 +159,15 @@ parts:
echo "get passwd/user-default-groups" | \ echo "get passwd/user-default-groups" | \
debconf-communicate user-setup | \ debconf-communicate user-setup | \
cut -d ' ' -f 2- > $SNAPCRAFT_PART_INSTALL/users-and-groups cut -d ' ' -f 2- > $SNAPCRAFT_PART_INSTALL/users-and-groups
cp /usr/lib/user-setup/reserved-usernames $SNAPCRAFT_PART_INSTALL/
stage: stage:
- users-and-groups - users-and-groups
user-setup:
plugin: nil
source: https://git.launchpad.net/ubuntu/+source/user-setup
source-type: git
override-build:
cp -a reserved-usernames $SNAPCRAFT_PART_INSTALL/
stage:
- reserved-usernames - reserved-usernames
keyboard-data: keyboard-data:
plugin: nil plugin: nil