From 976df5eed594b14c4cab134bc1905981573262a8 Mon Sep 17 00:00:00 2001 From: geos_one Date: Mon, 1 Nov 2010 06:02:34 +0000 Subject: [PATCH] add new files git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2643 6952d904-891a-0410-993b-d76249ca496b --- .../ls_pro_live/armv5tejl-stage4.spec | 2 +- Documentation/ls_pro_live/fsscript | 8 ++--- .../root_overlay/etc/conf.d/hwclock | 35 +++++++++++++++++++ .../root_overlay/etc/init.d/net.eth0 | 1 + .../ls_pro_live/root_overlay/etc/motd | 1 - .../ls_pro_live/root_overlay/etc/sysctl.conf | 4 +-- app-admin/update-motd/Manifest | 2 +- app-admin/update-motd/update-motd-3.5.ebuild | 6 ++++ 8 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 Documentation/ls_pro_live/root_overlay/etc/conf.d/hwclock create mode 120000 Documentation/ls_pro_live/root_overlay/etc/init.d/net.eth0 delete mode 120000 Documentation/ls_pro_live/root_overlay/etc/motd diff --git a/Documentation/ls_pro_live/armv5tejl-stage4.spec b/Documentation/ls_pro_live/armv5tejl-stage4.spec index 11a5df6..cf8e694 100644 --- a/Documentation/ls_pro_live/armv5tejl-stage4.spec +++ b/Documentation/ls_pro_live/armv5tejl-stage4.spec @@ -92,7 +92,7 @@ stage4/use: # then it will be defined elsewhere. # example: # stage4/packages: livecd-tools dhcpcd acpid apmd gentoo-sources coldplug fxload irssi gpm syslog-ng parted links raidtools dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs ntfsprogs pwgen rp-pppoe screen mirrorselect penggy iputils hwdata-knoppix hwsetup lvm2 evms vim pptpclient mdadm ethtool wireless-tools prism54-firmware wpa_supplicant -stage4/packages: layman openssh dhcpcd udev micro_evtd expect vixie-cron update-motd linux-buffalo_ls_pro_live buffalo_ls_pro_live-sources gpm syslog-ng gdisk parted atop links dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs reiser4progs pwgen screen mirrorselect iputils lvm2 vim mdadm ethtool ntp smartmontools hddtemp +stage4/packages: layman openssh dhcpcd udev micro_evtd vixie-cron logrotate update-motd linux-buffalo_ls_pro_live buffalo_ls_pro_live-sources gpm syslog-ng gdisk parted atop links dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs reiser4progs pwgen screen mirrorselect iputils lvm2 vim mdadm ethtool ntp smartmontools hddtemp # A fsscript is simply a shell script that is copied into the chroot of the stage4 # after the kernel(s) and any external modules have been compiled and is diff --git a/Documentation/ls_pro_live/fsscript b/Documentation/ls_pro_live/fsscript index d6822f3..92ac059 100755 --- a/Documentation/ls_pro_live/fsscript +++ b/Documentation/ls_pro_live/fsscript @@ -10,21 +10,19 @@ ln -sf initrd-*.buffalo initrd.buffalo rm -rf /.svn rm -rf /etc/.svn rm -rf /etc/conf.d/.svn +rm -rf /etc/init.d/.svn rm -rf /etc/layman/.svn rm -rf /etc/profile.d/.svn rm -rf /var/.svn rm -rf /var/lib/.svn rm -rf /var/lib/layman/.svn -rm -rf /usr/.svn -rm -rf /usr/local/.svn -rm -rf /usr/local/bin/.svn # qemu-arm don't work with newer coreutils # but the linkstation works with it rm -f /etc/portage/package.mask/coreutils # init bash profile for root -cp -Rv /etc/skel/.* /root/ +cp -Rv /etc/skel/.bash* /root/ # create the new portage dir mkdir /usr/portage.new @@ -38,4 +36,4 @@ rsync -aPv rsync://83.164.133.198/gentoo-portage/eclass /usr/portage.new/ rsync -aPv rsync://83.164.133.198/gentoo-portage/licenses /usr/portage.new/ # change password for root user -/usr/local/bin/changepassword root goLsProLive +echo "root:goLsProLive" | chpasswd diff --git a/Documentation/ls_pro_live/root_overlay/etc/conf.d/hwclock b/Documentation/ls_pro_live/root_overlay/etc/conf.d/hwclock new file mode 100644 index 0000000..0794bad --- /dev/null +++ b/Documentation/ls_pro_live/root_overlay/etc/conf.d/hwclock @@ -0,0 +1,35 @@ +# /etc/conf.d/clock + +# Set CLOCK to "UTC" if your hardware clock is set to UTC (also known as +# Greenwich Mean Time). If that clock is set to the local time, then +# set CLOCK to "local". +# Note that if you dual boot with Windows, then you should set it to +# "local" because Windows always sets the hardware clock to local time. + +CLOCK="UTC" + +# Select the proper timezone. For valid values, peek inside of the +# /usr/share/zoneinfo/ directory. For example, some common values are +# "America/New_York" or "EST5EDT" or "Europe/Berlin". If you want to +# manage /etc/localtime yourself, set this to "". + +TIMEZONE="UTC" + +# If you wish to pass any other arguments to hwclock during bootup, +# you may do so here. + +CLOCK_OPTS="" + +# If you want to set the Hardware Clock to the current System Time (software +# clock) during shutdown, then say "yes" here. + +CLOCK_SYSTOHC="yes" + + +### ALPHA SPECIFIC OPTIONS ### + +# If your alpha uses the SRM console, set this to "yes". +SRM="no" + +# If your alpha uses the ARC console, set this to "yes". +ARC="no" diff --git a/Documentation/ls_pro_live/root_overlay/etc/init.d/net.eth0 b/Documentation/ls_pro_live/root_overlay/etc/init.d/net.eth0 new file mode 120000 index 0000000..3843c79 --- /dev/null +++ b/Documentation/ls_pro_live/root_overlay/etc/init.d/net.eth0 @@ -0,0 +1 @@ +net.lo \ No newline at end of file diff --git a/Documentation/ls_pro_live/root_overlay/etc/motd b/Documentation/ls_pro_live/root_overlay/etc/motd deleted file mode 120000 index 7030993..0000000 --- a/Documentation/ls_pro_live/root_overlay/etc/motd +++ /dev/null @@ -1 +0,0 @@ -issue.net \ No newline at end of file diff --git a/Documentation/ls_pro_live/root_overlay/etc/sysctl.conf b/Documentation/ls_pro_live/root_overlay/etc/sysctl.conf index 1b47058..53e2c3c 100644 --- a/Documentation/ls_pro_live/root_overlay/etc/sysctl.conf +++ b/Documentation/ls_pro_live/root_overlay/etc/sysctl.conf @@ -55,7 +55,7 @@ kernel.sysrq = 1 #fs.nfs.nlm_udpport = 0 # logging settings for Buffalo Linkstation -The logging levels are +# The logging levels are # 0 system is unusable # 1 action must be taken immediately # 2 critical conditions @@ -64,4 +64,4 @@ The logging levels are # 5 normal but significant condition # 6 informational # 7 debug-level messages -kernel.printk="7" +kernel.printk= 7 diff --git a/app-admin/update-motd/Manifest b/app-admin/update-motd/Manifest index 7154db4..fee46e9 100644 --- a/app-admin/update-motd/Manifest +++ b/app-admin/update-motd/Manifest @@ -1,4 +1,4 @@ DIST update-motd_3.5.orig.tar.gz 17686 RMD160 f4df6d07798a04c69d0ae7740b806551c6bc5e46 SHA1 4e34fa820463bebb83c4a30cfbe4f0496f8eb1e7 SHA256 c1f8c3d8b54aa6a1300b173b4bf81ee768ffd9396ef3e4ce4c1454ef32a7ed00 -EBUILD update-motd-3.5.ebuild 700 RMD160 816366f5a2a34c544c1dcb8c2076ff58fefff016 SHA1 ac04448890210e4a50cade4c0d00f6ae4db5a094 SHA256 fcf2f1020bcf1fd5fc2d7f1c34043883ce83ecc930b801484d33d66b63223dc9 +EBUILD update-motd-3.5.ebuild 762 RMD160 bd2d445cff2d6609624c4fa1c6f37a8b90ffba84 SHA1 b1845c4e09f9cc71ad48aa6a6c33c98dc972aef0 SHA256 40ec1c71a7f3dbd877f3cb5a8228458d28ea140bdd6c08e13a96b78554f5fb48 MISC ChangeLog 206 RMD160 b7d206ee96879a053b3c026397e3459c7fceddd4 SHA1 74cf377a1f68e1b94e6872c0448f0357753cfae7 SHA256 d9a36ca9b7a080f465d341500b7816b26742e048a19d8ee3bb65b15df21bdb84 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/app-admin/update-motd/update-motd-3.5.ebuild b/app-admin/update-motd/update-motd-3.5.ebuild index f14a0f5..0c1730a 100644 --- a/app-admin/update-motd/update-motd-3.5.ebuild +++ b/app-admin/update-motd/update-motd-3.5.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI="2" + inherit eutils DESCRIPTION="dynamic update for the motd file" @@ -22,6 +24,10 @@ DEPEND="" RDEPEND="sys-apps/debianutils" PDEPEND="app-admin/motd-base" +src_prepare() { + sed -e '1,2d' -i update-motd.sh +} + src_install() { dobin update-motd insinto /etc/profile.d