]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
profitbricks/jenkins-build-scripts.git
10 years agodebian_build.py: Increment or decrement version for develop and experemental build...
Benjamin Drung [Fri, 4 Jul 2014 09:56:10 +0000 (11:56 +0200)]
debian_build.py: Increment or decrement version for develop and experemental build depending on their changelog entries

10 years agodebian_build.py: Read the VERSION_SUFFIX environment variable
Benjamin Drung [Fri, 4 Jul 2014 09:34:28 +0000 (11:34 +0200)]
debian_build.py: Read the VERSION_SUFFIX environment variable

10 years agodebian_build.py: Search for the last release (where distribution is not UNRELEASED)
Benjamin Drung [Fri, 4 Jul 2014 09:29:16 +0000 (11:29 +0200)]
debian_build.py: Search for the last release (where distribution is not UNRELEASED)

10 years agoupload squeeze-dev/wheezy-dev packages to pb-debian-dev instead of pb-debian
Benjamin Drung [Thu, 3 Jul 2014 14:31:30 +0000 (16:31 +0200)]
upload squeeze-dev/wheezy-dev packages to pb-debian-dev instead of pb-debian

10 years ago- Adds a missing character
Pascal Giannakakis [Tue, 24 Jun 2014 11:49:27 +0000 (13:49 +0200)]
- Adds a missing character

10 years ago- Re-adds tagging feature that was accidentally dropped
Pascal Giannakakis [Mon, 23 Jun 2014 17:57:45 +0000 (19:57 +0200)]
- Re-adds tagging feature that was accidentally dropped

10 years agodebian_build.py: Fail build if apt01 upload fail.
Benjamin Drung [Tue, 17 Jun 2014 15:39:23 +0000 (17:39 +0200)]
debian_build.py: Fail build if apt01 upload fail.

10 years agodebian_build.py: Fix typo split -> splitext.
Benjamin Drung [Fri, 6 Jun 2014 15:22:55 +0000 (17:22 +0200)]
debian_build.py: Fix typo split -> splitext.

10 years agodebian_build.py: Put modified changes file into same directory than the original.
Benjamin Drung [Fri, 6 Jun 2014 15:17:48 +0000 (17:17 +0200)]
debian_build.py: Put modified changes file into same directory than the original.

10 years agodebian_build.py: Upload to apt01 first and store changed .changes file separately.
Benjamin Drung [Fri, 6 Jun 2014 15:12:15 +0000 (17:12 +0200)]
debian_build.py: Upload to apt01 first and store changed .changes file separately.

10 years agodebian_build.py: Rename archive01 to apt01.
Benjamin Drung [Fri, 6 Jun 2014 09:25:32 +0000 (11:25 +0200)]
debian_build.py: Rename archive01 to apt01.

10 years agodebian_build.py: Change distribution for archive01 in changes file.
Benjamin Drung [Thu, 5 Jun 2014 17:46:09 +0000 (19:46 +0200)]
debian_build.py: Change distribution for archive01 in changes file.

10 years agodebian_build.py: Upload packages to archive01.pb.local, too.
Benjamin Drung [Thu, 5 Jun 2014 17:20:50 +0000 (19:20 +0200)]
debian_build.py: Upload packages to archive01.pb.local, too.

10 years agoMerge branch 'master' into develop
Frank Brehm [Tue, 3 Jun 2014 10:11:39 +0000 (12:11 +0200)]
Merge branch 'master' into develop

10 years agoAdded ProfitBricks packages in creating of the GRML squash image.
Frank Brehm [Tue, 3 Jun 2014 10:09:36 +0000 (12:09 +0200)]
Added ProfitBricks packages in creating of the GRML squash image.

10 years ago.pbuilderrc: Remove http_proxy (we have a full mirror on alexandria).
Benjamin Drung [Fri, 23 May 2014 14:57:20 +0000 (16:57 +0200)]
.pbuilderrc: Remove http_proxy (we have a full mirror on alexandria).

10 years agogentoo_build: Do not fail in auto-tagging mode for released commits.
Benjamin Drung [Mon, 19 May 2014 09:12:36 +0000 (11:12 +0200)]
gentoo_build: Do not fail in auto-tagging mode for released commits.

10 years agoMade source image and target directory configurable in create-grml-squash.sh
Frank Brehm [Wed, 30 Apr 2014 08:09:09 +0000 (10:09 +0200)]
Made source image and target directory configurable in create-grml-squash.sh

10 years agoAdded exec dependency to root in create-grml-squash.sh
Frank Brehm [Wed, 30 Apr 2014 08:00:27 +0000 (10:00 +0200)]
Added exec dependency to root in create-grml-squash.sh

10 years agoAdded create-grml-squash.sh and dependend files
Frank Brehm [Wed, 30 Apr 2014 07:56:25 +0000 (09:56 +0200)]
Added create-grml-squash.sh and dependend files

10 years agochange order of liveboot rsync destinations
root sagunt [Tue, 29 Apr 2014 14:00:28 +0000 (14:00 +0000)]
change order of liveboot rsync destinations

10 years ago.pbuilderrc: Do not add the feature branch repo if it does not exists yet.
Benjamin Drung [Mon, 14 Apr 2014 08:01:29 +0000 (10:01 +0200)]
.pbuilderrc: Do not add the feature branch repo if it does not exists yet.

10 years agoB02-get-reports: get new report: test-run-all.xml
Ramona Koch [Wed, 9 Apr 2014 13:00:02 +0000 (15:00 +0200)]
B02-get-reports: get new report: test-run-all.xml

10 years agodebian_build.py: Fix PB_SUITE for feature branch builds.
Benjamin Drung [Mon, 7 Apr 2014 10:51:20 +0000 (12:51 +0200)]
debian_build.py: Fix PB_SUITE for feature branch builds.

Set PB_SUITE to dev-feature-* instead of experimental-squeeze (for squeeze).

10 years agoMerge branch 'feature/PBP-6319'
Pascal Giannakakis [Thu, 3 Apr 2014 08:50:21 +0000 (10:50 +0200)]
Merge branch 'feature/PBP-6319'

10 years agodebian_build.py: Do not automatically update debian/changelog for ri-docs.
Benjamin Drung [Wed, 26 Mar 2014 10:14:17 +0000 (11:14 +0100)]
debian_build.py: Do not automatically update debian/changelog for ri-docs.

10 years ago- Fixed typos
Pascal Giannakakis [Fri, 21 Mar 2014 16:00:29 +0000 (17:00 +0100)]
- Fixed typos
Task #PBP-6319 - Fix Jenkins pre- and post-commit triggers

10 years ago- Removed all debian references
Pascal Giannakakis [Thu, 20 Mar 2014 12:52:27 +0000 (13:52 +0100)]
- Removed all debian references

PBP-6319

10 years ago- Changed Maven post build script to ignore debian packaging if not available
Pascal Giannakakis [Fri, 14 Mar 2014 11:28:45 +0000 (12:28 +0100)]
- Changed Maven post build script to ignore debian packaging if not available

PBP-6319

10 years agodebian_build: Fix tagged_commit to tagged_commit_hexsha.
Benjamin Drung [Wed, 5 Mar 2014 12:34:44 +0000 (13:34 +0100)]
debian_build: Fix tagged_commit to tagged_commit_hexsha.

10 years agodebian_build: use GIT_URL instead of GIT_REPO_PATH
Benjamin Drung [Wed, 5 Mar 2014 12:31:21 +0000 (13:31 +0100)]
debian_build: use GIT_URL instead of GIT_REPO_PATH

This is a follow-up fix for commit d6a9e77

10 years agoRename curr_commit_id to curr_commit_hexsha.
Benjamin Drung [Wed, 5 Mar 2014 12:29:52 +0000 (13:29 +0100)]
Rename curr_commit_id to curr_commit_hexsha.

10 years agoFix crash with python-git >= 0.3
Benjamin Drung [Wed, 5 Mar 2014 12:19:10 +0000 (13:19 +0100)]
Fix crash with python-git >= 0.3

The Commit id attribute was renamed to hexsha in python-git >= 0.3

10 years agodebian_build: use GIT_URL instead of GIT_REPO_PATH
Fabian Holler [Wed, 5 Mar 2014 11:47:57 +0000 (12:47 +0100)]
debian_build: use GIT_URL instead of GIT_REPO_PATH

GIT_REPO_PATH doesn't exist in few jobs (?), also GIT_URL fits better

10 years agoliveboot: fix: logging liveboot builds to CIDB failed
Fabian Holler [Wed, 5 Mar 2014 10:15:12 +0000 (11:15 +0100)]
liveboot: fix: logging liveboot builds to CIDB failed

db_add_build(..) was called with insufficient parameters, the git_rev_id
parameter was missing

10 years agoRemove unreachable code.
Benjamin Drung [Tue, 4 Mar 2014 10:44:09 +0000 (11:44 +0100)]
Remove unreachable code.

10 years agodebian_build.py: PEP 8 fixes.
Benjamin Drung [Tue, 4 Mar 2014 10:43:13 +0000 (11:43 +0100)]
debian_build.py: PEP 8 fixes.

10 years agoMerge remote-tracking branch 'origin/feature/cidb-git-rev'
Benjamin Drung [Tue, 4 Mar 2014 10:29:13 +0000 (11:29 +0100)]
Merge remote-tracking branch 'origin/feature/cidb-git-rev'

10 years agodebian_build: record git repository + url in the cidb
Fabian Holler [Tue, 4 Mar 2014 09:22:38 +0000 (10:22 +0100)]
debian_build: record git repository + url in the cidb

For every package build the source git repository and revision is
recorded in the CIDB. This will allow us to show git diffs for all
packages that changed between 2 liveboot images.

10 years agogentoo_build: Clean up pep8 warnings.
Benjamin Drung [Thu, 13 Feb 2014 10:22:06 +0000 (11:22 +0100)]
gentoo_build: Clean up pep8 warnings.

10 years agoThe archive for feature branches is called dev-wheezy instead of pb-wheezy.
Benjamin Drung [Wed, 12 Feb 2014 09:25:30 +0000 (10:25 +0100)]
The archive for feature branches is called dev-wheezy instead of pb-wheezy.

10 years agoFix wrong distribution list for feature/* builds on wheezy.
Benjamin Drung [Tue, 11 Feb 2014 18:15:11 +0000 (19:15 +0100)]
Fix wrong distribution list for feature/* builds on wheezy.

10 years agogentoo_build: Disable some pylint warning.
Benjamin Drung [Tue, 11 Feb 2014 16:24:34 +0000 (17:24 +0100)]
gentoo_build: Disable some pylint warning.

10 years agogentoo_build: Add --auto-version feature.
Benjamin Drung [Tue, 28 Jan 2014 21:21:50 +0000 (22:21 +0100)]
gentoo_build: Add --auto-version feature.

10 years agogentoo_build: Add --keywords parameter.
Benjamin Drung [Fri, 24 Jan 2014 16:26:42 +0000 (17:26 +0100)]
gentoo_build: Add --keywords parameter.

10 years agogentoo_build: Create directory if it does not exist already.
Benjamin Drung [Fri, 24 Jan 2014 10:15:43 +0000 (11:15 +0100)]
gentoo_build: Create directory if it does not exist already.

10 years agoMerge branch 'master' into develop
Tobias von der Krone [Wed, 22 Jan 2014 13:37:15 +0000 (14:37 +0100)]
Merge branch 'master' into develop

10 years agoliveboot_rsync.sh: cleanup and add new staging
Tobias von der Krone [Wed, 22 Jan 2014 13:36:20 +0000 (14:36 +0100)]
liveboot_rsync.sh: cleanup and add new staging

10 years agogentoo_build: Print a nice error message if pushing a tag fails.
Benjamin Drung [Wed, 22 Jan 2014 12:33:47 +0000 (13:33 +0100)]
gentoo_build: Print a nice error message if pushing a tag fails.

10 years agogentoo_build: Support running in a detached head.
Benjamin Drung [Wed, 22 Jan 2014 11:37:07 +0000 (12:37 +0100)]
gentoo_build: Support running in a detached head.

10 years agogentoo_build: Pass repo object around instead of creating always new ones.
Benjamin Drung [Wed, 22 Jan 2014 11:34:51 +0000 (12:34 +0100)]
gentoo_build: Pass repo object around instead of creating always new ones.

10 years agopxe_riserver_setup.sh: Include general PXE configuration.
Benjamin Drung [Tue, 21 Jan 2014 15:25:19 +0000 (16:25 +0100)]
pxe_riserver_setup.sh: Include general PXE configuration.

10 years agopxe_install.sh, pxe_riserver_setup.sh: Support deploying a development version.
Benjamin Drung [Mon, 20 Jan 2014 12:15:38 +0000 (13:15 +0100)]
pxe_install.sh, pxe_riserver_setup.sh: Support deploying a development version.

10 years agogentoo_build: Remove not needed additional spaces around URL.
Benjamin Drung [Fri, 17 Jan 2014 16:44:36 +0000 (17:44 +0100)]
gentoo_build: Remove not needed additional spaces around URL.

10 years agogentoo_build: Shorten gitweb URL.
Benjamin Drung [Fri, 17 Jan 2014 16:40:34 +0000 (17:40 +0100)]
gentoo_build: Shorten gitweb URL.

10 years agogentoo_build: Add gitweb link to every git commit.
Benjamin Drung [Fri, 17 Jan 2014 16:36:21 +0000 (17:36 +0100)]
gentoo_build: Add gitweb link to every git commit.

10 years agogentoo_build: Support building mutliple ebuilds from one git repository.
Benjamin Drung [Fri, 17 Jan 2014 14:58:53 +0000 (15:58 +0100)]
gentoo_build: Support building mutliple ebuilds from one git repository.

10 years agoMerge branch 'develop'
Tobias von der Krone [Fri, 17 Jan 2014 14:22:41 +0000 (15:22 +0100)]
Merge branch 'develop'

10 years agoextract_storage: dist of ANDBD must be not dev_feature* but pre-staging
Dongsu Park [Fri, 17 Jan 2014 13:47:17 +0000 (14:47 +0100)]
extract_storage: dist of ANDBD must be not dev_feature* but pre-staging

A yet another bug on building a kernel image from a feature branch.
So far profitbricks-linux-image-storage has been built successfully.
However, its subtask building profitbricks-andbd-modules-storage
has always failed.

Its reason was apt sources list having enabled only dev-repository,
where ANDBD modules are normally not built at all. This could result
in an error case, where installation process of ANDBD module package
tries to find a bogus kernel version, such as 2.6.32.

Even though there would exist any feature branch of ANDBD that matches
exactly with the name of feature branch of linux-storage, we could not
have any way to determine at all, whether the two feature branches
should match with each other. There's no point of using $TARGET_NAME
for configuring distribution of the ANDBD module package.

Therefore the solution is to always add a pre-staging repository
to apt sources list. Then linux-storage from a feature branch can be
installed with andbd-modules from the pre-staging (develop) branch.

(Tested only under my local pbuilder environment)

10 years agogentoo_build: Include stats into the commit info.
Benjamin Drung [Fri, 17 Jan 2014 12:20:56 +0000 (13:20 +0100)]
gentoo_build: Include stats into the commit info.

10 years agoMerge branch 'develop'
Tobias von der Krone [Fri, 17 Jan 2014 09:58:53 +0000 (10:58 +0100)]
Merge branch 'develop'

10 years agoMerge branch 'feature/storage-feature-branch' into develop
Tobias von der Krone [Fri, 17 Jan 2014 09:58:24 +0000 (10:58 +0100)]
Merge branch 'feature/storage-feature-branch' into develop

10 years agogentoo_build: Check if the distribution is set to UNRELEASED.
Benjamin Drung [Fri, 17 Jan 2014 09:35:57 +0000 (10:35 +0100)]
gentoo_build: Check if the distribution is set to UNRELEASED.

10 years agogentoo_build: Improve error message for existing tag.
Benjamin Drung [Fri, 17 Jan 2014 09:27:49 +0000 (10:27 +0100)]
gentoo_build: Improve error message for existing tag.

10 years agoAdd initial version of gentoo_build.
Benjamin Drung [Thu, 16 Jan 2014 18:59:23 +0000 (19:59 +0100)]
Add initial version of gentoo_build.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Wed, 15 Jan 2014 10:05:08 +0000 (11:05 +0100)]
Merge branch 'master' into develop

10 years agoAdd script name to temporary files.
Benjamin Drung [Wed, 15 Jan 2014 10:01:58 +0000 (11:01 +0100)]
Add script name to temporary files.

This allows to track down left-over temporary files to their sources.

10 years agoextract_storage: support for a new format of DISTRIBUTION variable
Dongsu Park [Tue, 14 Jan 2014 12:16:18 +0000 (13:16 +0100)]
extract_storage: support for a new format of DISTRIBUTION variable

since several months, this script has not been able to support for
building feature branch kernels any more. It looks like $DISTRIBUTION
is now being given with a format of "dev_feature_$branchname".

To fix errors of Jenkins job dev-feature_extract-storage-kernel-and
-modules, let's make it support for dev_feature_$branchname" too.

10 years agodebian_build.py: Add --version-suffix parameter.
Benjamin Drung [Thu, 9 Jan 2014 13:54:27 +0000 (14:54 +0100)]
debian_build.py: Add --version-suffix parameter.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Thu, 9 Jan 2014 13:22:43 +0000 (14:22 +0100)]
Merge branch 'master' into develop

10 years agoRename pbuilder environment variable ARCH to ARCHITECTURE.
Benjamin Drung [Thu, 9 Jan 2014 13:18:35 +0000 (14:18 +0100)]
Rename pbuilder environment variable ARCH to ARCHITECTURE.

pbuilder falsely passes all environment variables into the chroot system.
The ARCH enviroment variable causes a build failure in the ethoip6 package.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Fri, 3 Jan 2014 17:36:55 +0000 (18:36 +0100)]
Merge branch 'master' into develop

10 years ago.pbuilderrc: Also consider develop-squeeze as pre-staging distribution.
Benjamin Drung [Fri, 3 Jan 2014 17:36:47 +0000 (18:36 +0100)]
.pbuilderrc: Also consider develop-squeeze as pre-staging distribution.

10 years agoRevert "Only pass --override-config to pbuilder on sqeeze (for now)."
Benjamin Drung [Fri, 3 Jan 2014 17:33:29 +0000 (18:33 +0100)]
Revert "Only pass --override-config to pbuilder on sqeeze (for now)."

This reverts commit 1c1ce75080effe12800dd7d5ea91b39fe4692610.

10 years agoOnly pass --override-config to pbuilder on sqeeze (for now).
Benjamin Drung [Fri, 3 Jan 2014 17:10:46 +0000 (18:10 +0100)]
Only pass --override-config to pbuilder on sqeeze (for now).

10 years agoRemove unused imports and replace * imports.
Benjamin Drung [Mon, 23 Dec 2013 14:50:56 +0000 (15:50 +0100)]
Remove unused imports and replace * imports.

10 years agoCleanup the previous source packages.
Benjamin Drung [Mon, 23 Dec 2013 14:42:50 +0000 (15:42 +0100)]
Cleanup the previous source packages.

10 years agoFix crash when cleaning the repository fails.
Benjamin Drung [Mon, 23 Dec 2013 14:40:40 +0000 (15:40 +0100)]
Fix crash when cleaning the repository fails.

subprocess.check_call will raise an exception instead of returning non-zero.

10 years agoUse --override-config to always have a correct sources.list.
Benjamin Drung [Thu, 12 Dec 2013 18:16:37 +0000 (19:16 +0100)]
Use --override-config to always have a correct sources.list.

10 years agoFollow up commit to make the switch to gitpkg+pbuilder work.
Benjamin Drung [Thu, 12 Dec 2013 17:38:25 +0000 (18:38 +0100)]
Follow up commit to make the switch to gitpkg+pbuilder work.

10 years agoReplace git-buildpackage by gitpkg and pbuilder.
Benjamin Drung [Thu, 12 Dec 2013 16:27:23 +0000 (17:27 +0100)]
Replace git-buildpackage by gitpkg and pbuilder.

This should fix #2744.

10 years agoRevert "lib/git_buildpackage.py: Fix build failure caused by calling clean target."
Benjamin Drung [Thu, 12 Dec 2013 15:44:02 +0000 (16:44 +0100)]
Revert "lib/git_buildpackage.py: Fix build failure caused by calling clean target."

This change was not enough, because pdebuild calls the clean target to a chain.
See http://redmine.pb.local/issues/2744 for details.

This reverts commit 681239fe03ab6f2f4f91f35368199ad9e7dd4880.

10 years agopxe_install.sh: bump FAI time-out to 60 minutes
Thilo Fromm [Wed, 11 Dec 2013 12:51:53 +0000 (13:51 +0100)]
pxe_install.sh: bump FAI time-out to 60 minutes

This bumps the FAI time-out to 60 minutes in order to un-break gateway
auto-deploy.

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
10 years agolib/git_buildpackage.py: Fix build failure caused by calling clean target.
Benjamin Drung [Mon, 9 Dec 2013 08:28:52 +0000 (09:28 +0100)]
lib/git_buildpackage.py: Fix build failure caused by calling clean target.

We do want to let dpkg-buildpackage call the clean target, because
it can fail if we do not have all build dependencies installed.
Instead we make sure that the git checkout is clean and the clean
target will be called inside the pbuilder chroot (after the
installation of the build dependencies).

10 years agodebian_build.py: correct build_failed
Tobias von der Krone [Mon, 14 Oct 2013 10:51:20 +0000 (12:51 +0200)]
debian_build.py: correct build_failed

10 years agofail after gathering reports if build has failed
Tobias von der Krone [Mon, 14 Oct 2013 10:36:08 +0000 (12:36 +0200)]
fail after gathering reports if build has failed

11 years agosupport maven3 which changed output...
Holger Levsen [Wed, 25 Sep 2013 16:22:42 +0000 (18:22 +0200)]
support maven3 which changed output...

11 years agochanges taken from sagunt:/root/
Holger Levsen [Wed, 18 Sep 2013 10:21:33 +0000 (12:21 +0200)]
changes taken from sagunt:/root/

11 years agouse riserver for pxe, not jerusalem anymore
Holger Levsen [Fri, 13 Sep 2013 12:20:37 +0000 (14:20 +0200)]
use riserver for pxe, not jerusalem anymore

11 years agoremove traces of testlink, as its not used anymore
Holger Levsen [Fri, 13 Sep 2013 10:18:02 +0000 (12:18 +0200)]
remove traces of testlink, as its not used anymore

11 years agofix build failure after merge to integration branch
Holger Levsen [Wed, 28 Aug 2013 12:02:05 +0000 (14:02 +0200)]
fix build failure after merge to integration branch

11 years agomaven-post-build: dont trigger build if we commit ourself
Holger Levsen [Fri, 23 Aug 2013 11:11:13 +0000 (13:11 +0200)]
maven-post-build: dont trigger build if we commit ourself

11 years agomaven_pre_helper: properly reset master branch. refactor a bit.
Holger Levsen [Fri, 23 Aug 2013 09:54:11 +0000 (11:54 +0200)]
maven_pre_helper: properly reset master branch. refactor a bit.

11 years agoupdate+reset integration branch properly
Holger Levsen [Fri, 23 Aug 2013 09:02:12 +0000 (11:02 +0200)]
update+reset integration branch properly

11 years agoliveboot: delete kernel debug archive when garbage collection ran
Fabian Holler [Thu, 22 Aug 2013 14:37:37 +0000 (16:37 +0200)]
liveboot: delete kernel debug archive when garbage collection ran

delete the liveboot kernel debug archive in /srv/liveboot/debug_archives
when the associated liveboot image is deleted

11 years agoadd script to create liveboot kernel debug archives
Fabian Holler [Thu, 22 Aug 2013 09:34:05 +0000 (11:34 +0200)]
add script to create liveboot kernel debug archives

The script downloads the sources and debug symbols for ethoip6 and the
profitbricks-linux-pserver kernel that are installed on a liveboot.
From the extracted files a tar.xz archive is created that contains
everything what is needed to debug kernel oopses.
The archives is stored at /srv/liveboot/debug_archives on the jenkins
build server

11 years agoMerge branch 'develop'
Holger Levsen [Thu, 22 Aug 2013 16:11:38 +0000 (18:11 +0200)]
Merge branch 'develop'

Conflicts resolved:
debian_build.py

11 years agoextract_storage: fix a bug on selecting modules directory name
Dongsu Park [Thu, 22 Aug 2013 11:43:43 +0000 (13:43 +0200)]
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.

11 years agoextract_storage: fix a bug on selecting modules directory name
Dongsu Park [Thu, 22 Aug 2013 11:43:43 +0000 (13:43 +0200)]
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.

11 years agostorage_deploy: fix typo in log output
Jack Wang [Wed, 31 Jul 2013 14:57:55 +0000 (16:57 +0200)]
storage_deploy: fix typo in log output

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>