Lines 137-160
Link Here
|
137 |
|
137 |
|
138 |
#//------------------------------------------------------------------------------ |
138 |
#//------------------------------------------------------------------------------ |
139 |
|
139 |
|
140 |
# All are in ${FILESDIR}/eblits |
140 |
load_eblit_funcs() { |
141 |
# If a message for a given machine needs to change, |
141 |
# All are in ${FILESDIR}/eblits |
142 |
# then we create a new eblit and increment the |
142 |
# If a message for a given machine needs to change, |
143 |
# version and reference it here. |
143 |
# then we create a new eblit and increment the |
144 |
eblit-include err_disabled_mach v1 |
144 |
# version and reference it here. |
145 |
eblit-include err_only_one_mach_allowed v1 |
145 |
[ -n "${MIPS_SOURCES_EBLITS_LOADED}" ] && return; |
146 |
eblit-include show_ip22_info v1 |
146 |
eblit-include err_disabled_mach v1 |
147 |
eblit-include show_ip27_info v1 |
147 |
eblit-include err_only_one_mach_allowed v1 |
148 |
eblit-include show_ip28_info v1 |
148 |
eblit-include show_ip22_info v1 |
149 |
eblit-include show_ip30_info v1 |
149 |
eblit-include show_ip27_info v1 |
150 |
eblit-include show_ip32_info v1 |
150 |
eblit-include show_ip28_info v1 |
151 |
eblit-include show_cobalt_info v1 |
151 |
eblit-include show_ip30_info v1 |
|
|
152 |
eblit-include show_ip32_info v1 |
153 |
eblit-include show_cobalt_info v1 |
152 |
|
154 |
|
153 |
# This makes sure pkg_setup & pkg_postinst gets into any binpkg. |
155 |
# This makes sure pkg_setup & pkg_postinst gets into any binpkg. |
154 |
# Neccessary because we can't guarantee FILESDIR is around for binpkgs. |
156 |
# Neccessary because we can't guarantee FILESDIR is around for binpkgs. |
155 |
eblit-pkg setup v1 |
157 |
eblit-pkg setup v1 |
156 |
eblit-pkg postinst v1 |
158 |
eblit-pkg postinst v1 |
|
|
159 |
MIPS_SOURCES_EBLITS_LOADED=1 |
160 |
} |
157 |
|
161 |
|
|
|
162 |
pkg_setup() { |
163 |
load_eblit_funcs |
164 |
pkg_setup |
165 |
} |
158 |
src_unpack() { eblit-run src_unpack v1 ; } |
166 |
src_unpack() { eblit-run src_unpack v1 ; } |
159 |
|
167 |
|
160 |
#//------------------------------------------------------------------------------ |
168 |
#//------------------------------------------------------------------------------ |