projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strip -x from package names
[hdw-linux/hdw-linux.git]
/
scripts
/
adapt_local
diff --git
a/scripts/adapt_local
b/scripts/adapt_local
index
eda31fc
..
947b64e
100755
(executable)
--- a/
scripts/adapt_local
+++ b/
scripts/adapt_local
@@
-33,7
+33,10
@@
if [ "$config" = "full" ] ; then
# kernel config
run_it cp $root/usr/src/linux/.config $target/usr/src/linux/.config
# x11
# kernel config
run_it cp $root/usr/src/linux/.config $target/usr/src/linux/.config
# x11
+ [ -f $root/etc/X11/XF86Config* ] && \
run_it cp $root/etc/X11/XF86Config* $target/etc/X11/
run_it cp $root/etc/X11/XF86Config* $target/etc/X11/
+ [ -f $root/etc/X11/xorg.conf* ] && \
+ run_it cp $root/etc/X11/xorg.conf* $target/etc/X11/
# hdw config
for i in profile fstab hosts host.conf HOSTNAME resolv.conf conf/ ; do
run_it rm -rf $target/etc/$i
# hdw config
for i in profile fstab hosts host.conf HOSTNAME resolv.conf conf/ ; do
run_it rm -rf $target/etc/$i