-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nagara] Add Xperia 1 IV. SailfishOS-SonyXperia/bugs#105
Signed-off-by: Björn Bidar <[email protected]>
- Loading branch information
0 parents
commit 1d66ba7
Showing
2,949 changed files
with
159,115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "droid-system-device"] | ||
path = droid-system-device | ||
url = ./droid-system-device/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
%define __find_provides %{nil} | ||
%define __find_requires %{nil} | ||
%define __strip /bin/true | ||
%define __provides_exclude_from ^/system/.*$ | ||
%define __requires_exclude ^.*$ | ||
%global debug_package %{nil} | ||
|
||
Name: droid-system-%{habuild_device}-%{device} | ||
# This package bundles system+vendor, remove old vendor package: | ||
Provides: droid-system-vendor-%{habuild_device}-%{device} | ||
Conflicts: droid-system-vendor-%{habuild_device}-%{device} | ||
Obsoletes: droid-system-vendor-%{habuild_device}-%{device} | ||
Summary: Built certain sources trees such as /system for Droid HAL adaptations | ||
Version: 0.0.1 | ||
Release: 1 | ||
License: %{system_license} | ||
Requires: droid-system-%{habuild_device} | ||
Source0: %{name}-%{version}.tgz | ||
Source1: droid-system-%{habuild_device}-rpmlintrc | ||
URL: https://github.com/mer-hybris/droid-system-sony-template | ||
|
||
%description | ||
%{summary} | ||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
# This section is empty on purpose | ||
%build | ||
|
||
%install | ||
rm -rf $RPM_BUILD_ROOT tmp | ||
mkdir -p $RPM_BUILD_ROOT/system/etc | ||
cp %{device}/system/build.prop $RPM_BUILD_ROOT/system/build.prop | ||
if [ -f %{device}/system/etc/prop.default ]; then | ||
cp %{device}/system/etc/prop.default $RPM_BUILD_ROOT/system/etc/prop.default | ||
echo "/system/etc/prop.default" >> tmp/extra_files | ||
fi | ||
mkdir -p $RPM_BUILD_ROOT/vendor/etc/vintf | ||
cp %{device}/vendor/build.prop $RPM_BUILD_ROOT/vendor/build.prop | ||
cp %{device}/vendor/etc/vintf/manifest.xml $RPM_BUILD_ROOT/vendor/etc/vintf/manifest.xml | ||
|
||
mkdir tmp | ||
touch tmp/extra_files | ||
if [ -f %{device}/vendor/odm/etc/build.prop ]; then | ||
mkdir -p $RPM_BUILD_ROOT/vendor/odm/etc | ||
cp %{device}/vendor/odm/etc/build.prop $RPM_BUILD_ROOT/vendor/odm/etc/build.prop | ||
echo "/vendor/odm/etc/build.prop" >> tmp/extra_files | ||
fi | ||
|
||
%files -f tmp/extra_files | ||
%defattr(-,root,root,-) | ||
/system/build.prop | ||
/vendor/build.prop | ||
/vendor/etc/vintf/manifest.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
%define dsd_path ./ | ||
|
||
Requires(post): coreutils | ||
Requires(post): libcap | ||
|
||
# This package bundles system+vendor, remove old vendor package: | ||
Provides: droid-system-vendor-%{rpm_device} | ||
Conflicts: droid-system-vendor-%{rpm_device} | ||
Obsoletes: droid-system-vendor-%{rpm_device} |
Submodule droid-system-device
added at
807a23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# grep checked-out AOSP tree for LICENSE files and identify licenses within | ||
%define system_license ASL 2.0 and BSD and NCSA and zlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/sparse/system/etc/ld.config.28.txt b/sparse/system/etc/ld.config.28.txt | ||
index 6f9caee..19c89c1 100644 | ||
--- a/sparse/system/etc/ld.config.28.txt | ||
+++ b/sparse/system/etc/ld.config.28.txt | ||
@@ -68,6 +68,7 @@ namespace.default.permitted.paths += /system/product/app | ||
namespace.default.permitted.paths += /system/product/priv-app | ||
namespace.default.permitted.paths += /data | ||
namespace.default.permitted.paths += /mnt/expand | ||
+namespace.default.permitted.paths += /usr/libexec/droid-hybris/system/${LIB} | ||
|
||
namespace.default.asan.search.paths = /data/asan/system/${LIB} | ||
namespace.default.asan.search.paths += /system/${LIB} | ||
@@ -265,6 +266,7 @@ namespace.default.search.paths += /vendor/${LIB} | ||
|
||
namespace.default.permitted.paths = /odm | ||
namespace.default.permitted.paths += /vendor | ||
+namespace.default.permitted.paths += /usr/libexec/droid-hybris/system/${LIB} | ||
|
||
namespace.default.asan.search.paths = /data/asan/odm/${LIB} | ||
namespace.default.asan.search.paths += /odm/${LIB} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/sparse/system/etc/ld.config.29.txt b/sparse/system/etc/ld.config.29.txt | ||
index 9ea549f..345bd6f 100644 | ||
--- a/sparse/system/etc/ld.config.29.txt | ||
+++ b/sparse/system/etc/ld.config.29.txt | ||
@@ -79,6 +79,7 @@ namespace.default.permitted.paths += /data | ||
namespace.default.permitted.paths += /mnt/expand | ||
namespace.default.permitted.paths += /apex/com.android.runtime/${LIB}/bionic | ||
namespace.default.permitted.paths += /system/${LIB}/bootstrap | ||
+namespace.default.permitted.paths += /usr/libexec/droid-hybris/system/${LIB} | ||
|
||
namespace.default.asan.search.paths = /data/asan/system/${LIB} | ||
namespace.default.asan.search.paths += /system/${LIB} | ||
@@ -398,6 +399,7 @@ namespace.default.search.paths += /vendor/${LIB} | ||
namespace.default.permitted.paths = /odm | ||
namespace.default.permitted.paths += /vendor | ||
namespace.default.permitted.paths += /system/vendor | ||
+namespace.default.permitted.paths += /usr/libexec/droid-hybris/system/${LIB} | ||
|
||
namespace.default.asan.search.paths = /data/asan/odm/${LIB} | ||
namespace.default.asan.search.paths += /odm/${LIB} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device bahamut | ||
%define device j8210 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device bahamut | ||
%define device j9210 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%define rpm_device bahamut | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device griffin | ||
%define device j8110 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device griffin | ||
%define device j9110 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%define rpm_device griffin | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device kirin | ||
%define device i3113 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device kirin | ||
%define device i4113 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device kirin | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device mermaid | ||
%define device i3213 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device mermaid | ||
%define device i4213 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device mermaid | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx201 | ||
%define device xqau51 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx201 | ||
%define device xqau52 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device pdx201 | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx203 | ||
%define device xqat51 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx203 | ||
%define device xqat52 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device pdx203 | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx206 | ||
%define device xqas52 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device pdx206 | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx213 | ||
%define device xqbt52 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%define rpm_device pdx213 | ||
|
||
%define multiple_rpms 1 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common.inc | ||
%include droid-system-device/droid-system.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%define habuild_device pdx223 | ||
%define device xqct54 | ||
|
||
%include droid-system-license.inc | ||
%include droid-system-common-device.inc |
Oops, something went wrong.