Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not exclude RPM database
Allow to query the content of the tools root with `rpm -q`.
  • Loading branch information
martyone authored and lbt committed Jul 5, 2018
1 parent ec263ff commit 07e76b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions sb2-tools-template.changes
@@ -1,3 +1,6 @@
* Tue Mar 27 2018 Martin Kampas <martin.kampas@jolla.com> - 1.0+git4
- Do not exclude RPM database. Contributes to JB#36069

* Wed Sep 14 2016 Matti Kosola <matti.kosola@jolla.com> - 1.0+git3
- Still some changes to get promotions work. Contributes to JB#36248

Expand Down
5 changes: 1 addition & 4 deletions sb2-tools-template.spec
Expand Up @@ -5,7 +5,7 @@
%global __os_install_post %{nil}

Name: sb2-tools-@ARCH@-inject
Version: 1.0+git3
Version: 1.0+git4
Release: 1
AutoReqProv: 0
BuildRequires: rpm grep tar patchelf sed
Expand Down Expand Up @@ -51,7 +51,6 @@ cat > filestoignore << EOF
/etc/mtab
/usr/share/man
/root
/var/lib/rpm
/usr/bin/chfn
/usr/bin/chsh
/etc/securetty
Expand Down Expand Up @@ -87,7 +86,6 @@ chmod 0400 %buildroot/etc/shadow
chmod 0400 %buildroot/etc/gshadow
mkdir -p %buildroot/var/log
mkdir -p %buildroot/root/
mkdir -p %buildroot/var/lib/rpm/
mkdir -p %buildroot/etc/
touch %buildroot/etc/securetty
mkdir -p %buildroot/var/cache/ldconfig/
Expand All @@ -106,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%dir /var/log
%dir /root/
%dir /var/lib/rpm/
%dir /var/cache/ldconfig/
/etc/securetty
%verify(not md5 size mtime) %attr(0400,root,root) %config(noreplace) /etc/shadow
Expand Down

0 comments on commit 07e76b2

Please sign in to comment.