-
Notifications
You must be signed in to change notification settings - Fork 237
Feature: add option --disable-apt-cacher (following #249) #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f9aa177
0b10618
f9a993e
f58f681
68dd756
7568db8
3793b65
525e33a
d8d370d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -12,4 +12,8 @@ if [ -z "$MIRROR_HOST" ] || [ "$MIRROR_HOST" == "127.0.0.1" ]; then | |||
MIRROR_HOST=$GITIAN_HOST_IP | ||||
fi | ||||
|
||||
sed "s;HOSTIP;$MIRROR_HOST;g" < target-bin/bootstrap-fixup.in > target-bin/bootstrap-fixup | ||||
if [ $APT_CACHER = "1" ]; then | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. two issues:
|
||||
sed "s;HOSTIP;$MIRROR_HOST;g" < target-bin/bootstrap-fixup.in > target-bin/bootstrap-fixup | ||||
else | ||||
sed "s;HOSTIP:3142/;;g" < target-bin/bootstrap-fixup.in > target-bin/bootstrap-fixup | ||||
fi | ||||
Comment on lines
+15
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is actually not working.
Creating the following error :
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a possible solution, would it be possible to configure bootstrap-fixup.in only when using The feature was implemented by commit 5785dfc, I suppose we can do it as I suggest in the case It can make sure configuration is more done through gitian-builder/libexec/make-clean-vm Line 65 in 4609325
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if it's the right solution, but if it is I just added the commit d8d370d to implement this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable declaration useless