projects
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770e9bb
)
update-chroots: copy resolv.conf from host
author
martin@piware.de
<>
Tue, 14 Apr 2009 11:00:19 +0000
(13:00 +0200)
committer
martin@piware.de
<>
Tue, 14 Apr 2009 11:00:19 +0000
(13:00 +0200)
update-chroots
patch
|
blob
|
history
diff --git
a/update-chroots
b/update-chroots
index ab2a668ef4f39b2d73ebe7fb886547130a1bd53d..fc5ce75cb6d87248438a770fff390c11975a6adb 100755
(executable)
--- a/
update-chroots
+++ b/
update-chroots
@@
-1,4
+1,7
@@
#!/bin/sh
+for f in /home/dchroot/*/etc/resolv.conf; do
+ cp /etc/resolv.conf $f;
+done
dchroot -a -- 'apt-get update'
dchroot -a -- 'apt-get -u -y dist-upgrade'
dchroot -a -- 'apt-get autoclean'