~oem-solutions-cdimage/live-build/only-download-packages-missing-in-chroot-for-pool

« back to all changes in this revision

Viewing changes to scripts/build/lb_bootstrap_cache

Merged make-config-available-to-chroot-hooks into only-download-packages-missing-in-chroot-for-pool.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                                        # Restoring old cache
53
53
                                        ${LB_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
54
54
 
55
 
                                        if [ -n "${LB_ROOT_COMMAND}" ]
56
 
                                        then
57
 
                                                ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
58
 
                                        fi
59
 
 
60
55
                                        # Creating stage file
61
56
                                        Create_stagefile .stage/bootstrap_cache.restore
62
57
                                        Create_stagefile .stage/bootstrap
81
76
 
82
77
                                ${LB_ROOT_COMMAND} cp -a chroot cache/stages_bootstrap
83
78
 
84
 
                                if [ -n "${LB_ROOT_COMMAND}" ]
85
 
                                then
86
 
                                        ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_bootstrap
87
 
                                fi
88
 
 
89
79
                                # Creating stage file
90
80
                                Create_stagefile .stage/bootstrap_cache.save
91
81
                                ;;