]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commit
extract_storage: fix a bug on selecting modules directory name
authorDongsu Park <dongsu.park@profitbricks.com>
Thu, 22 Aug 2013 11:43:43 +0000 (13:43 +0200)
committerDongsu Park <dongsu.park@profitbricks.com>
Thu, 22 Aug 2013 11:48:11 +0000 (13:48 +0200)
commit9c926632774fdfba5d29dfb8261e8ffa30a3a3fa
treeb3e31e12f8575cfd5ee9d9778a079c85ecbd8ac0
parentaddd7d5c235b0e980be38b93fe9aed47224f03c8
extract_storage: fix a bug on selecting modules directory name

In the sub-script, which is externally invoked by this script,
there was a little bug like "cd /lib/modules/*storage/".
This has been working if there's only 1 directory under /lib/modules.
But after upgrading kernel 3.4.23 to 3.4.51, there could be 2 different
directories, because ANDBD package could be possibly depending on
the older version.

To avoid such situations, set the kernel modules directory just the
same as its kernel version.
extract_storage_kernel+modules.sh