Browse Source

Explicitly update locale and AppStream information

merge-requests/1/head
Matthias Klumpp 3 years ago
parent
commit
a5c422b22b
  1. 6
      config/hooks/normal/01-set-locale.hook.chroot
  2. 0
      config/hooks/normal/02-plymouth-theme.hook.chroot
  3. 0
      config/hooks/normal/03-command-not-found.hook.chroot
  4. 10
      config/hooks/normal/04-apt-appstream.hook.chroot

6
config/hooks/normal/01-set-locale.hook.chroot

@ -0,0 +1,6 @@
#!/bin/sh
set -e
cat >/etc/default/locale<<EOF
LANG="C.UTF-8"
EOF

0
config/hooks/normal/001-plymouth-theme.hook.chroot → config/hooks/normal/02-plymouth-theme.hook.chroot

0
config/hooks/normal/002-command-not-found.hook.chroot → config/hooks/normal/03-command-not-found.hook.chroot

10
config/hooks/normal/04-apt-appstream.hook.chroot

@ -0,0 +1,10 @@
#!/bin/sh
set -e
# update APT metadata / DEP-11 YAML
apt-get update
if [ -e /usr/bin/appstreamcli ]
then
/usr/bin/appstreamcli refresh --force --verbose
fi
Loading…
Cancel
Save