linaro-hwpack-install: add FORCE_OPTIONS to apt update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Wishlist
|
Fathi Boudra | ||
linaro-image-tools (Debian) |
Fix Released
|
Unknown
|
Bug Description
linaro-
update APT cache from unsigned repositories. Could you please allow
FORCE_OPTIONS to be present when APT tries to update its cache?
Find attached a proposed patch to fix the issue:
--- linaro-
+++ linaro-
@@ -181,17 +181,17 @@ fi
echo "deb file:${
cat /etc/apt/
-echo "Updating apt package lists ..."
-$sudo apt-get -o "$APT_GET_OPTIONS" update -q
-
-echo -n "Installing packages ..."
-
if [ "$FORCE_YES" == "yes" ]; then
FORCE_
else
FORCE_OPTIONS=""
fi
+echo "Updating apt package lists ..."
+$sudo apt-get $FORCE_OPTIONS -o "$APT_GET_OPTIONS" update -q
+
+echo -n "Installing packages ..."
+
# "newer" hwpacks contain a dependency package whose Depends is the
# same as the packages config setting from the file the hwpack was
# build from. But if we just installed that, a newer version of a
Related branches
- Loïc Minier (community): Approve
-
Diff: 26 lines (+5/-5)1 file modifiedlinaro-hwpack-install (+5/-5)
Changed in linaro-image-tools (Debian): | |
status: | Unknown → New |
Changed in linaro-image-tools: | |
assignee: | nobody → Fathi Boudra (fboudra) |
milestone: | none → 2012.04 |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in linaro-image-tools: | |
status: | Triaged → Fix Committed |
Changed in linaro-image-tools (Debian): | |
status: | New → Fix Released |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |