Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
tor-browser-build
Commits
80399fe5
Unverified
Commit
80399fe5
authored
Feb 15, 2017
by
boklm
Browse files
Use faketime when generating dmg files
parent
9ec25911
Changes
2
Show whitespace changes
Inline
Side-by-side
projects/tor-browser/config
View file @
80399fe5
...
...
@@ -22,6 +22,7 @@ targets:
-
unzip
-
python
-
bzip2
-
faketime
windows-i686
:
var
:
mar_osname
:
win32
...
...
projects/tor-browser/ddmg.sh
View file @
80399fe5
...
...
@@ -10,6 +10,9 @@ pushd [% src %]
find
.
-type
f |
sed
-e
's/^\.\///'
|
sort
| xargs
-i
echo
"{}={}"
>
[
% filelist %]
find
.
-type
l |
sed
-e
's/^\.\///'
|
sort
| xargs
-i
echo
"{}={}"
>>
[
% filelist %]
export
LD_PRELOAD
=
/usr/lib/faketime/libfaketime.so.1
export
FAKETIME
=
"[% USE date; GET date.format(c('timestamp'), format = '%Y-%m-%d %H:%M:%S') %]"
genisoimage
-D
-V
"Tor Browser"
-no-pad
-R
-apple
-o
"
$dmg_tmpdir
/tbb-uncompressed.dmg"
-path-list
[
% filelist %]
-graft-points
-gid
20
-dir-mode
0755
-new-dir-mode
0755
dmg dmg
"
$dmg_tmpdir
/tbb-uncompressed.dmg"
[
% c
(
'dmg_out'
,
{
error_if_undef
=>
1
})
%]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment