mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
kernels: Run depmod on modules before packaging
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
eeb8ee058c
commit
f145a3cee7
@ -11,6 +11,8 @@ RUN for url in ${DEB_URLS}; do \
|
||||
dpkg-deb -x dl.deb . ;\
|
||||
done
|
||||
|
||||
RUN for d in lib/modules/*; do depmod -b . $(basename $d); done
|
||||
|
||||
RUN mkdir /out
|
||||
RUN cp -a boot/vmlinuz-* /out/kernel
|
||||
RUN cp -a boot/config-* /out/kernel_config
|
||||
|
@ -11,6 +11,8 @@ RUN for url in ${RPM_URLS}; do \
|
||||
rpm2cpio dl.rpm | cpio -idm ;\
|
||||
done
|
||||
|
||||
RUN for d in lib/modules/*; do depmod -b . $(basename $d); done
|
||||
|
||||
RUN mkdir /out
|
||||
RUN cp -a boot/vmlinuz-* /out/kernel
|
||||
RUN cp -a boot/config-* /out/kernel_config
|
||||
|
Loading…
Reference in New Issue
Block a user