mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
This solves two problems (and half): a) messing with user's preference file is a no-no, if we want a hardcoded behaviour like this, profile.d is the way to go b) .bashrc settings are overridden when doing env-update; source /etc/profile c) profile.d will also apply to root (although not with sudo su) BUG=none TEST=below 1) ./run_chroot_version_hooks --version 21 2) see all fixed, source /etc/profile, and still see my prompt unchanged Change-Id: I25b4602f4951b17815bcd312a8249320784c67e1 Reviewed-on: https://gerrit.chromium.org/gerrit/12539 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Zdenek Behan <zbehan@chromium.org> Commit-Ready: Zdenek Behan <zbehan@chromium.org> |
||
---|---|---|
.. | ||
1_init | ||
2_path_update | ||
3_libtool_update | ||
4_policykit_removal | ||
5_symlink_pc_update | ||
6_mobile_broadband_removal | ||
7_host_gcc_upgrade | ||
8_unmerge_gmp | ||
9_board_makeconf_setup | ||
10_default_locales | ||
11_rm_bad_directory | ||
12_clean_old_config_files | ||
13_enable_gold | ||
14_board_portage_env | ||
15_board_portage_env_undo | ||
16_localtime | ||
17_sudo_90_cros | ||
18_noop | ||
19_sudo_90_cros | ||
20_board_portage_bashrc | ||
21_grub_downgrade | ||
22_trim_bashrc |