|
From: <abe...@us...> - 2016-02-20 17:41:02
|
Revision: 7548
http://sourceforge.net/p/astlinux/code/7548
Author: abelbeck
Date: 2016-02-20 17:41:00 +0000 (Sat, 20 Feb 2016)
Log Message:
-----------
runnix and runnix-iso, our target skeleton copying does not include dot-files, this was 'fixed' in upstream Buildroot (several times) by using rsync, so keep it simple and add the dot-files in the 'post-build' scripts. All this to remove warning with dropbear at runtime
Modified Paths:
--------------
branches/1.0/project/runnix/target_skeleton/runnix
branches/1.0/project/runnix-iso/target_skeleton/runnix
branches/1.0/scripts/runnix-iso-post-build
branches/1.0/scripts/runnix-post-build
Removed Paths:
-------------
branches/1.0/project/runnix/target_skeleton/.ssh
branches/1.0/project/runnix-iso/target_skeleton/.ssh
Deleted: branches/1.0/project/runnix/target_skeleton/.ssh
===================================================================
--- branches/1.0/project/runnix/target_skeleton/.ssh 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/project/runnix/target_skeleton/.ssh 2016-02-20 17:41:00 UTC (rev 7548)
@@ -1 +0,0 @@
-link /tmp/.ssh
\ No newline at end of file
Modified: branches/1.0/project/runnix/target_skeleton/runnix
===================================================================
--- branches/1.0/project/runnix/target_skeleton/runnix 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/project/runnix/target_skeleton/runnix 2016-02-20 17:41:00 UTC (rev 7548)
@@ -63,6 +63,7 @@
mount -t devpts devpts /dev/pts
mkdir /tmp/etc/dropbear
+ mkdir /tmp/.ssh
echo "Generating keys..."
dropbearkey -t rsa -f /tmp/etc/dropbear/dropbear_rsa_host_key -s 1024
Deleted: branches/1.0/project/runnix-iso/target_skeleton/.ssh
===================================================================
--- branches/1.0/project/runnix-iso/target_skeleton/.ssh 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/project/runnix-iso/target_skeleton/.ssh 2016-02-20 17:41:00 UTC (rev 7548)
@@ -1 +0,0 @@
-link /tmp/.ssh
\ No newline at end of file
Modified: branches/1.0/project/runnix-iso/target_skeleton/runnix
===================================================================
--- branches/1.0/project/runnix-iso/target_skeleton/runnix 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/project/runnix-iso/target_skeleton/runnix 2016-02-20 17:41:00 UTC (rev 7548)
@@ -62,6 +62,7 @@
mount -t devpts devpts /dev/pts
mkdir /tmp/etc/dropbear
+ mkdir /tmp/.ssh
echo "Generating keys..."
dropbearkey -t rsa -f /tmp/etc/dropbear/dropbear_rsa_host_key -s 1024
Modified: branches/1.0/scripts/runnix-iso-post-build
===================================================================
--- branches/1.0/scripts/runnix-iso-post-build 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/scripts/runnix-iso-post-build 2016-02-20 17:41:00 UTC (rev 7548)
@@ -20,6 +20,10 @@
fi
}
+## Our target skeleton copying does not include dot-files
+## Do it here:
+ln -snf "/tmp/.ssh" "$target/.ssh"
+
make_release_version
echo ${RUNVER} > "$target/etc/runnix-release"
Modified: branches/1.0/scripts/runnix-post-build
===================================================================
--- branches/1.0/scripts/runnix-post-build 2016-02-20 15:54:46 UTC (rev 7547)
+++ branches/1.0/scripts/runnix-post-build 2016-02-20 17:41:00 UTC (rev 7548)
@@ -20,6 +20,10 @@
fi
}
+## Our target skeleton copying does not include dot-files
+## Do it here:
+ln -snf "/tmp/.ssh" "$target/.ssh"
+
make_release_version
echo ${RUNVER} > "$target/etc/runnix-release"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|