Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
4af7cd63
Commit
4af7cd63
authored
Feb 06, 2019
by
Klaus Wölfel
Committed by
Lorenzo Martinico
Aug 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[nayuos] Add chrome patch to increase storage quota in guest mode to support big offline apps
parent
86d8ae16
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
software/nayuos/instance.cfg
software/nayuos/instance.cfg
+2
-1
software/nayuos/patch/0001-chrome-incognito-increase-storage-quota.patch
.../patch/0001-chrome-incognito-increase-storage-quota.patch
+20
-0
software/nayuos/scripts/cros_full_build.in
software/nayuos/scripts/cros_full_build.in
+4
-0
software/nayuos/software.cfg
software/nayuos/software.cfg
+1
-1
No files found.
software/nayuos/instance.cfg
View file @
4af7cd63
...
@@ -99,7 +99,7 @@ context =
...
@@ -99,7 +99,7 @@ context =
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = {{ software_dir }}/scripts/cros_full_build.in
template = {{ software_dir }}/scripts/cros_full_build.in
rendered = ${directory:run}/cros_full_build
rendered = ${directory:run}/cros_full_build
md5sum =
f10eb8863b2575e117aae070be171d76
md5sum =
480b9f08ef25036422e64d11f9189674
mode = 0700
mode = 0700
context =
context =
key bash_path bin:bash
key bash_path bin:bash
...
@@ -112,6 +112,7 @@ context =
...
@@ -112,6 +112,7 @@ context =
key ebuilds_dir nayuos-ebuilds:location
key ebuilds_dir nayuos-ebuilds:location
raw scripts_dir {{ software_dir }}/scripts
raw scripts_dir {{ software_dir }}/scripts
raw logo_dir {{ software_dir }}/logo
raw logo_dir {{ software_dir }}/logo
raw patch_dir {{ software_dir }}/patch
# packages to be copied from our overlay into ChromiuOS' overlay
# packages to be copied from our overlay into ChromiuOS' overlay
# those packages will be marked as dependency of root filesystem
# those packages will be marked as dependency of root filesystem
raw nayu_dev_rootfs_packages app-misc/nayuos-chromium-policy
raw nayu_dev_rootfs_packages app-misc/nayuos-chromium-policy
...
...
software/nayuos/patch/0001-chrome-incognito-increase-storage-quota.patch
0 → 100644
View file @
4af7cd63
--- a/src/storage/browser/quota/quota_settings.cc 2018-08-30 15:11:45.052446318 +0200
+++ b/src/storage/browser/quota/quota_settings.cc 2019-07-29 17:29:49.765826330 +0200
@@ -34,7 +34,7 @@
const int64_t kMBytes = 1024 * 1024;
const int kRandomizedPercentage = 10;
- if (is_incognito) {
+ /*if (is_incognito) {
// The incognito pool size is a fraction of the amount of system memory,
// and the amount is capped to a hard limit.
const double kIncognitoPoolSizeRatio = 0.1; // 10%
@@ -49,7 +49,7 @@
settings.session_only_per_host_quota = settings.per_host_quota;
settings.refresh_interval = base::TimeDelta::Max();
return settings;
- }
+ }*/
// The fraction of the device's storage the browser is willing to
// use for temporary storage.
software/nayuos/scripts/cros_full_build.in
View file @
4af7cd63
...
@@ -152,6 +152,10 @@ increase_revision_number ${CHROMIUM_OVERLAY}/chromeos-base/openssh-server-init/
...
@@ -152,6 +152,10 @@ increase_revision_number ${CHROMIUM_OVERLAY}/chromeos-base/openssh-server-init/
sed -i -n '/src_install/q;p' $(latest_ebuild ${CHROMIUM_OVERLAY}/chromeos-base/chromeos-sshd-init)
sed -i -n '/src_install/q;p' $(latest_ebuild ${CHROMIUM_OVERLAY}/chromeos-base/chromeos-sshd-init)
increase_revision_number ${CHROMIUM_OVERLAY}/chromeos-base/chromeos-sshd-init/
increase_revision_number ${CHROMIUM_OVERLAY}/chromeos-base/chromeos-sshd-init/
# increase size of storage quota for chrome guest mode to make big offline apps work
CHROME_EBUILD_DIR="${CHROMIUM_OVERLAY}/chromeos-base/chromeos-chrome"
cp {{ patch_dir }}/0001-chrome-incognito-increase-storage-quota.patch "${CHROME_EBUILD_DIR}/files/"
sed -i 's|^PATCHES=()$|PATCHES=( "${FILESDIR}/0001-chrome-incognito-increase-storage-quota.patch" )|' ${CHROME_EBUILD_DIR}/chromeos-chrome*.ebuild
# bashrc modifications
# bashrc modifications
BASH_EBUILD_DIR="${PORTAGE_STABLE}/app-shells/bash"
BASH_EBUILD_DIR="${PORTAGE_STABLE}/app-shells/bash"
...
...
software/nayuos/software.cfg
View file @
4af7cd63
...
@@ -26,7 +26,7 @@ recipe = slapos.recipe.template:jinja2
...
@@ -26,7 +26,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
mode = 0644
mode = 0644
md5sum =
73f964d73367dbf280d904e408a7f9
b8
md5sum =
b95b3060e64cbb52c33ecff4d5ee6d
b8
context =
context =
key software_dir :_profile_base_location_
key software_dir :_profile_base_location_
key instance_dir buildout:directory
key instance_dir buildout:directory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment