Hello, 

Sorry for the mistakes, I'm working to get more familiar with the T2
environment :)
Here are the packages diff.

I've also included a template for the ps3hwclock init script, but by
reading the documentation it wasn't very clear to me what's the
best way to skip the automatic build system, I've just set an empty
srctar variable. I will have some time the next two days if anything
needs to be fixed.

Merry Christmas!

Samuele

Il giorno Mon, 24 Dec 2018 19:41:16 +0100
René Rebe <[email protected]> ha scritto:

> Hi Samuele,
> 
> On 12/23/2018 09:14 PM, Samuele Guerrini wrote:
> > I'm attaching two Sony PlayStation 3 specific packages.
> > The readme file is not intended to be part of the package but it
> > should be read before testing the tools in case you don't have an
> > in-dept PS3 knowledge.  
> Thank you for your first contribution. Fantastic.
> The only thing you could do better is sending it as a plain/text
> patch. That allows me to easier review it, or read it on a phone on
> the go and things like that, ..! ;-)
> 
> We could start by adding them to package/powerpc
> 
> You do not need to include the init script with custmain as you did
> for ps3hwclock. You simply place a .init file, so ps3hwclock.init in
> the $confdir using some template technique and t2 will process and
> install it. You can simply copy and edit an existing one, e.g.
> package/network/ntp/ntpd.init
> 
> Would be great if you coudl resend it after that cleanup. If you have
> no time or so it is no problem at all and I can do it in a day or
> two, too.
> 
> Merry Christmas!
> 
>       René Rebe
> 
> PS: Sent from a loaned Dell XPS 15:
>       https://t2sde.org/hardware/portable/Dell/XPS-15-9575/

Index: package/powerpc/ps3hwclock/ps3hwclock.conf
===================================================================
--- package/powerpc/ps3hwclock/ps3hwclock.conf	(nonexistent)
+++ package/powerpc/ps3hwclock/ps3hwclock.conf	(working copy)
@@ -73013966180,33611826 +4328579122,68753088562 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# 
+# T2 SDE: package/.../ps3hwclock/ps3hwclock.conf
+# Copyright (C) 2007 - 2018 The T2 SDE Project
+# 
+# More information can be found in the files COPYING and README.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+runconf=0
+srctar=""
Index: package/powerpc/ps3hwclock/ps3hwclock.desc
===================================================================
--- package/powerpc/ps3hwclock/ps3hwclock.desc	(nonexistent)
+++ package/powerpc/ps3hwclock/ps3hwclock.desc	(working copy)
@@ -137438475620,33611826 +4328579122,133177598002 @@
+[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY] 
+[COPY] T2 SDE: package/.../ps3hwclock/ps3hwclock.desc
+[COPY] Copyright (C) 2018 The T2 SDE Project
+[COPY] 
+[COPY] More information can be found in the files COPYING and README.
+[COPY] 
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; version 2 of the License. A copy of the
+[COPY] GNU General Public License can be found in the file COPYING.
+[COPY] --- T2-COPYRIGHT-NOTE-END ---
+
+[I] PS3 HW Clock Init Script
+
+[T] This package contains an init script to sync system time with the
+[T] PS3's hardware clock at boot. 
+
+[A] Samuele Guerrini <[email protected]>
+[M] Samuele Guerrini <[email protected]>
+
+[C] extra/tool
+[K] +linux
+[E] add ps3vuart-tools
+
+[L] GPL
+[S] Gamma
+[V] 0.1
+[P] O -----5---9 127.700
+
Index: package/powerpc/ps3hwclock/ps3hwclock.init
===================================================================
--- package/powerpc/ps3hwclock/ps3hwclock.init	(nonexistent)
+++ package/powerpc/ps3hwclock/ps3hwclock.init	(working copy)
@@ -124553573732,33611826 +4328579122,120292696114 @@
+#!/bin/bash
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# 
+# T2 SDE: package/.../ps3hwclock/ps3hwclock.init
+# Copyright (C) 2018 The T2 SDE Project
+# 
+# More information can be found in the files COPYING and README.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+
+main_begin
+
+    block_begin(start, `Syncing system time with PS3 hardware clock')
+    	check(`date +%s -s @$(ps3dm srtc get_time 1) > /dev/null')
+    block_end
+
+    block_begin(stop, `Stopping PS3 hardware clock syncing')
+    block_end
+
+main_end
+
+

Property changes on: package/powerpc/ps3hwclock/ps3hwclock.init
___________________________________________________________________
Added: svn:executable
## -4294967296,33611826 +4328579122 ##
+*
\ No newline at end of property
Index: package/powerpc/ps3vuart-tools/ps3vuart-tools.conf
===================================================================
--- package/powerpc/ps3vuart-tools/ps3vuart-tools.conf	(nonexistent)
+++ package/powerpc/ps3vuart-tools/ps3vuart-tools.conf	(working copy)
@@ -68715250212,33611826 +4328579122,64458121266 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# 
+# T2 SDE: package/.../ps3vuart-tools/ps3vuart-tools.conf
+# Copyright (C) 2007 - 2018 The T2 SDE Project
+# 
+# More information can be found in the files COPYING and README.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+hook_add inmake 0 "export PREFIX=${prefix}; export DESTDIR=${root}/"
Index: package/powerpc/ps3vuart-tools/ps3vuart-tools.desc
===================================================================
--- package/powerpc/ps3vuart-tools/ps3vuart-tools.desc	(nonexistent)
+++ package/powerpc/ps3vuart-tools/ps3vuart-tools.desc	(working copy)
@@ -158909563428,33611826 +4328579122,154652434482 @@
+[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY] 
+[COPY] T2 SDE: package/.../ps3vuart-tools/ps3vuart-tools.desc
+[COPY] Copyright (C) 2004 - 2018 The T2 SDE Project
+[COPY] Copyright (C) 1998 - 2003 ROCK Linux Project
+[COPY] 
+[COPY] More information can be found in the files COPYING and README.
+[COPY] 
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; version 2 of the License. A copy of the
+[COPY] GNU General Public License can be found in the file COPYING.
+[COPY] --- T2-COPYRIGHT-NOTE-END ---
+
+[I] PS3 Linux VUART Tools
+
+[T] This package contains various utilities to communicate with
+[T] PlayStation 3's VUART interface.
+[T] Original upstream is lost.
+
+[U] https://github.com/sguerrini97/ps3linux-ps3vuart-tools
+
+[A] glevand <[email protected]>
+[M] Samuele Guerrini <[email protected]>
+
+[C] extra/tool
+[K] +linux
+
+[L] GPL
+[S] Gamma
+[V] af8af4c6d4bd47c8de5d3ab37d5bdb1e430d415e
+[P] O -----5---9 127.700
+
+[D] X ps3linux-ps3vuart-tools_af8a415e.tar.gz !https://github.com/sguerrini97/ps3linux-ps3vuart-tools/archive/af8af4c6d4bd47c8de5d3ab37d5bdb1e430d415e.tar.gz
+
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to