Skip to content

Commit 3e0638c

Browse files
authored
Update install.sh
1 parent b9567e8 commit 3e0638c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ mount --bind / /rootfs/old.rootfs
1313
chroot /rootfs /bin/sh -c '
1414
cd /old.rootfs/etc/ &&
1515
cp -Pfr passwd group shadow hosts resolv.conf hostname sudoers sudoers.d /etc/ &&
16+
mkdir -p /usr/lib/modules/ &&
17+
cp -Lfr /old.rootfs/lib/modules/* /usr/lib/modules/ &&
1618
cd /old.rootfs &&
1719
rm -fr etc sbin bin lib usr lib64 var/mail var/spool/mail &&
1820
cd / &&

0 commit comments

Comments
 (0)