File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -164,13 +164,21 @@ install_packages() {
164
164
if [ -f " $ROOTFS " /etc/default/libc-locales ]; then
165
165
sed -e " s/\#\(${LOCALE} .*\)/\1/g" -i " $ROOTFS " /etc/default/libc-locales
166
166
fi
167
+
167
168
if XBPS_ARCH=$BASE_ARCH " $XBPS_QUERY_CMD " -r " $ROOTFS " dkms > /dev/null 2>&1 ; then
168
169
# dkms modules alphabetically before dkms can't configure
169
170
# if dkms hasn't configured beforehand to create /var/lib/dkms
170
171
chroot " $ROOTFS " env -i xbps-reconfigure dkms
171
172
fi
173
+
172
174
chroot " $ROOTFS " env -i xbps-reconfigure -a
173
175
176
+ if XBPS_ARCH=$BASE_ARCH " $XBPS_QUERY_CMD " -r " $ROOTFS " dash > /dev/null 2>&1 ; then
177
+ # bash configures alphabetically before dash,
178
+ # so if it's installed we should ensure it's /bin/sh
179
+ chroot " $ROOTFS " env -i xbps-alternatives -s dash
180
+ fi
181
+
174
182
post_install_packages
175
183
}
176
184
You can’t perform that action at this time.
0 commit comments