-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is only required for running our integration tests. It really shouldn't be in the distributions. While the playground may only hurt mildly (being clutter), the mock PAM module is touching a security critical piece of the OS. Instead, install the playground into /usr/local/ in `image-prepare`. Fish the mock PAM module out of the build tree. As that isn't visible in pbuilder (on Debian/Ubuntu), use a pbuilder hook to run `make install-tests` into a host bind-mounted directory. Remove the package on upgrade. Skip TestLogin.testSELinuxRestrictedUser in tmt. It's the only test that requires the playground, and it mostly just tests our own SELinux policy which we can do upstream.
- Loading branch information
1 parent
4862de2
commit 2a16cde
Showing
15 changed files
with
41 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
set -eux | ||
cd "$(find $BUILDDIR -type d -maxdepth 1 -name 'cockpit-*')" | ||
make DESTDIR=/var/tmp/tests install-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# Contributor: Anatol Pomozov <[email protected]> | ||
|
||
pkgbase=cockpit | ||
pkgname=(cockpit cockpit-packagekit cockpit-storaged cockpit-test) | ||
pkgname=(cockpit cockpit-packagekit cockpit-storaged) | ||
pkgver=0 | ||
pkgrel=1 | ||
pkgdesc='A systemd web based user interface for Linux servers' | ||
|
@@ -75,18 +75,6 @@ package_cockpit() { | |
chmod 644 "$pkgdir"/etc/cockpit/disallowed-users | ||
} | ||
|
||
package_cockpit-test() { | ||
pkgdesc='Cockpit test playground' | ||
depends=(cockpit) | ||
|
||
# Install test | ||
cd cockpit-$pkgver | ||
make DESTDIR="$pkgdir" install-tests | ||
cd .. | ||
|
||
_do_package_component playground | ||
} | ||
|
||
_do_package_component() { | ||
_component="${1:-${pkgname#cockpit-}}" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters