Skip to content

Commit c82fa6d

Browse files
committed
Initial commit
0 parents  commit c82fa6d

12 files changed

Lines changed: 164 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2018 The Fyde OS Authors. All rights reserved.
2+
# Distributed under the terms of the BSD
3+
4+
EAPI="7"
5+
6+
inherit cros-unibuild
7+
8+
DESCRIPTION="ChromeOS model configuration"
9+
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/chromeos-config/README.md"
10+
11+
LICENSE="BSD-Google"
12+
SLOT="0"
13+
KEYWORDS="*"
14+
IUSE=""
15+
16+
RDEPEND=""
17+
18+
DEPEND="${RDEPEND}"
19+
20+
S=${FILESDIR}
21+
22+
src_install() {
23+
install_model_files
24+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2022 Fyde Innovations. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# This board only supports a single config, defined below, as it is a
6+
# migrated pre-unibuild device.
7+
device-config: &device_config
8+
name: xpressreal-openfyde
9+
10+
# Required dunder for chromeos-config to support a single device.
11+
chromeos:
12+
devices:
13+
- skus:
14+
- config: *device_config
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2018 The Fyde OS Authors. All rights reserved.
2+
# Distributed under the terms of the BSD
3+
4+
EAPI="7"
5+
6+
inherit appid2
7+
8+
DESCRIPTION="empty project"
9+
HOMEPAGE="http://fydeos.com"
10+
11+
LICENSE="BSD-Google"
12+
SLOT="0"
13+
KEYWORDS="*"
14+
IUSE=""
15+
16+
RDEPEND=""
17+
18+
DEPEND="${RDEPEND}"
19+
20+
S="${WORKDIR}"
21+
22+
src_install() {
23+
doappid "{E0AA4969-8A54-4DF8-9008-FEF019656F4B}" "CHROMEBOOK" "{0F7C7913-872F-43D8-B90C-CF8BC511D97C}"
24+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
From 96588565abd19c6a76285b91c8a4c4728be4c04f Mon Sep 17 00:00:00 2001
2+
From: Chen Fangzhou <fangzhou@fydeos.io>
3+
Date: Wed, 20 Apr 2022 07:26:57 +0000
4+
Subject: [PATCH 2/2] remove os_install_service-seccomp.policy arg for minijail
5+
6+
---
7+
os_install_service/conf/os_install_service.conf | 1 -
8+
1 file changed, 1 deletion(-)
9+
10+
diff --git a/os_install_service/conf/os_install_service.conf b/os_install_service/conf/os_install_service.conf
11+
index a10e96b848..22da74140b 100644
12+
--- a/conf/os_install_service.conf
13+
+++ b/conf/os_install_service.conf
14+
@@ -26,5 +26,4 @@ end script
15+
# docs/security/selinux.md.
16+
exec minijail0 -T static -- \
17+
/sbin/minijail0 -n \
18+
- -S /usr/share/policy/os_install_service-seccomp.policy \
19+
/usr/sbin/os_install_service
20+
--
21+
2.25.1
22+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright (c) 2023 Fyde Innovations Limited and the openFyde Authors.
2+
# Distributed under the license specified in the root directory of this project.
3+
4+
cros_pre_src_install_rock5b_os_install_service() {
5+
touch "${S}"/conf/os_install_service-seccomp-${ARCH}.policy
6+
}
7+
8+
cros_post_src_install_rock5b_os_install_service() {
9+
rm /usr/share/policy/os_install_service-seccomp.policy
10+
}
11+
12+
cros_pre_src_prepare_rock5b_os_install_service() {
13+
eapply ${XPRESSREAL_OPENFYDE_BASHRC_FILEPATH}/0001-remove-os_install_service-seccomp-policy-for-minijail.patch
14+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2025 Fyde Innovations Limited and the openFyde Authors.
2+
# Distributed under the license specified in the root directory of this project.
3+
4+
# dup patches:
5+
# * project-openfyde-patches/chromeos-base/tpm2-simulator
6+
# * foundation-realtek/chipset-rtd1619b/chromeos-base/tpm2-simulato
7+
unset cros_pre_src_prepare_openfyde_patches

metadata/fydeos_version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FYDEOS_BUILD=3

metadata/layout.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
masters = portage-stable chromiumos eclass-overlay fyde-eclass xpressreal openfyde openfyde-patches
2+
profile-formats = portage-2 profile-default-eapi
3+
profile_eapi_when_unspecified = 5-progress
4+
repo-name = xpressreal-openfyde
5+
thin-manifests = true
6+
use-manifests = strict

profiles/base/parent

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
xpressreal:base
2+
openfyde:base

profiles/base/profile.bashrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
xpressreal_openfyde_stack_bashrc() {
2+
local cfg
3+
4+
cfgd="/mnt/host/source/src/overlays/overlay-xpressreal-openfyde/${CATEGORY}/${PN}"
5+
for cfg in ${PN} ${P} ${PF} ; do
6+
cfg="${cfgd}/${cfg}.bashrc"
7+
[[ -f ${cfg} ]] && . "${cfg}"
8+
done
9+
10+
export XPRESSREAL_OPENFYDE_BASHRC_FILEPATH="${cfgd}/files"
11+
}
12+
13+
xpressreal_openfyde_stack_bashrc

0 commit comments

Comments
 (0)