ci: make sure deviceinfo_modules_initfs is not re-introduced in pmaports (MR 4169)

[ci:ignore-count]
This commit is contained in:
Pablo Correa Gómez 2023-06-27 18:05:05 +02:00 committed by Oliver Smith
parent 9839303dca
commit f0d314793d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -45,3 +45,10 @@ if grep --exclude='source_deviceinfo' -qEr 'source /etc/deviceinfo|\. /etc/devic
grep --color=always --exclude='rootfs-usr-share-misc-source_deviceinfo' -Er 'source /etc/deviceinfo|\. /etc/deviceinfo' -- *
exit 1
fi
# Removed deviceinfo variable
if grep -qr 'deviceinfo_modules_initfs' -- *; then
echo 'ERROR: deviceinfo_modules_initfs variable has been removed. Use "modules-initfs" file instead.'
grep --color=always -r 'deviceinfo_modules_initfs' -- *
exit 1
fi