Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 418920 Details for
Bug 567920
sys-apps/portage: "ebuild ... manifest" doesn't update Manifest mtime when it should
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
demonstrate_manifest_timestamps.sh
demonstrate_manifest_timestamps.sh (text/plain), 1.29 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2015-12-10 09:38:16 UTC
(
hide
)
Description:
demonstrate_manifest_timestamps.sh
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2015-12-10 09:38:16 UTC
Size:
1.29 KB
patch
obsolete
>#!/bin/bash > >OVERLAYDIR="/usr/local/test_overlay" >PORTAGEDIR="$(portageq get_repo_path / gentoo)" > ># prepare a test overlay >mkdir -p ${OVERLAYDIR}/net-libs/webkit-gtk/files >mkdir ${OVERLAYDIR}/{profiles,metadata} > >echo "test" > ${OVERLAYDIR}/profiles/repo_name >echo "masters = gentoo" > ${OVERLAYDIR}/metadata/layout.conf > ># Fill it with a valid package >cp ${PORTAGEDIR}/net-libs/webkit-gtk/webkit-gtk-2.10.4-r1.ebuild \ > ${OVERLAYDIR}/net-libs/webkit-gtk/webkit-gtk-2.10.0.ebuild >cp ${PORTAGEDIR}/net-libs/webkit-gtk/files/webkit-gtk-2.8.5* \ > ${OVERLAYDIR}/net-libs/webkit-gtk/files/ > ># create the Manifest file (send output to /dev/null) >ebuild ${OVERLAYDIR}/net-libs/webkit-gtk/webkit-gtk-2.10.0.ebuild manifest \ > >/dev/null > ># Look at the timestamp of the Manifest file >ls -l ${OVERLAYDIR}/net-libs/webkit-gtk/Manifest >stat -c %y ${OVERLAYDIR}/net-libs/webkit-gtk/Manifest > ># wait some minutes >sleep 2m > ># Now rename the ebuild >mv -v ${OVERLAYDIR}/net-libs/webkit-gtk/webkit-gtk-2.10.{0,2}.ebuild > ># Re-create the Manifest file (send output to /dev/null again) >ebuild ${OVERLAYDIR}/net-libs/webkit-gtk/webkit-gtk-2.10.2.ebuild manifest \ > >/dev/null > ># Look at the timestamp of the updated Manifest file >ls -l ${OVERLAYDIR}/net-libs/webkit-gtk/Manifest >stat -c %y ${OVERLAYDIR}/net-libs/webkit-gtk/Manifest > ># boom!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 567920
: 418920