mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
Add poky-trim-schemas post install script to remove unneeded schema locale translations from images (credit to Ross Burton for the initial script)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -225,6 +225,18 @@ rootfs_no_x_startup () {
|
||||
fi
|
||||
}
|
||||
|
||||
rootfs_trim_schemas () {
|
||||
for schema in ${IMAGE_ROOTFS}/etc/gconf/schemas/*.schemas
|
||||
do
|
||||
# Need this in case no files exist
|
||||
if [ -e $schema ]; then
|
||||
poky-trim-schemas $schema > $schema.new
|
||||
mv $schema.new $schema
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# export the zap_root_password, create_etc_timestamp and remote_init_link
|
||||
EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user