diff options
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch index b42d7878c9..0a7403d674 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch +++ b/meta/recipes-devtools/opkg-utils/opkg-utils/0002-opkg-build-Use-local-time-for-build_date-since-opkg-.patch | |||
@@ -12,10 +12,10 @@ Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> | |||
12 | opkg-build | 8 ++++---- | 12 | opkg-build | 8 ++++---- |
13 | 1 file changed, 4 insertions(+), 4 deletions(-) | 13 | 1 file changed, 4 insertions(+), 4 deletions(-) |
14 | 14 | ||
15 | diff --git a/opkg-build b/opkg-build | 15 | Index: opkg-utils-0.3.6/opkg-build |
16 | index 094d69f..0050c2b 100755 | 16 | =================================================================== |
17 | --- a/opkg-build | 17 | --- opkg-utils-0.3.6.orig/opkg-build |
18 | +++ b/opkg-build | 18 | +++ opkg-utils-0.3.6/opkg-build |
19 | @@ -282,11 +282,11 @@ fi | 19 | @@ -282,11 +282,11 @@ fi |
20 | tmp_dir=$dest_dir/IPKG_BUILD.$$ | 20 | tmp_dir=$dest_dir/IPKG_BUILD.$$ |
21 | mkdir $tmp_dir | 21 | mkdir $tmp_dir |
@@ -33,13 +33,10 @@ index 094d69f..0050c2b 100755 | |||
33 | echo "2.0" > $tmp_dir/debian-binary | 33 | echo "2.0" > $tmp_dir/debian-binary |
34 | @@ -301,7 +301,7 @@ rm -f $pkg_file | 34 | @@ -301,7 +301,7 @@ rm -f $pkg_file |
35 | if [ "$outer" = "ar" ] ; then | 35 | if [ "$outer" = "ar" ] ; then |
36 | ( cd $tmp_dir && ar -crfD $pkg_file ./debian-binary ./control.tar.gz ./data.tar.$cext ) | 36 | ( cd $tmp_dir && ar -crf $pkg_file ./debian-binary ./control.tar.gz ./data.tar.$cext ) |
37 | else | 37 | else |
38 | - ( cd $tmp_dir && tar -c $tsortargs --mtime=$build_date $tarformat ./debian-binary ./control.tar.gz ./data.tar.$cext | gzip $zipargs > $pkg_file ) | 38 | - ( cd $tmp_dir && tar -c $tsortargs --mtime=$build_date $tarformat ./debian-binary ./control.tar.gz ./data.tar.$cext | gzip $zipargs > $pkg_file ) |
39 | + ( cd $tmp_dir && tar -c $tsortargs --mtime="$build_date" $tarformat ./debian-binary ./control.tar.gz ./data.tar.$cext | gzip $zipargs > $pkg_file ) | 39 | + ( cd $tmp_dir && tar -c $tsortargs --mtime="$build_date" $tarformat ./debian-binary ./control.tar.gz ./data.tar.$cext | gzip $zipargs > $pkg_file ) |
40 | fi | 40 | fi |
41 | 41 | ||
42 | rm $tmp_dir/debian-binary $tmp_dir/data.tar.$cext $tmp_dir/control.tar.gz | 42 | rm $tmp_dir/debian-binary $tmp_dir/data.tar.$cext $tmp_dir/control.tar.gz |
43 | -- | ||
44 | 2.16.1 | ||
45 | |||