Commit 85d4810c authored by Lorenzo Martinico's avatar Lorenzo Martinico

Only search directories for ebuilds

parent 86621c9d
...@@ -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 = 3b553e2f5800eb421f89723ede00c6ef md5sum = 0708d99d03f0342cb2c229c376406554
mode = 0700 mode = 0700
context = context =
key bash_path bin:bash key bash_path bin:bash
......
...@@ -123,7 +123,7 @@ if [ $line_number ] ; then ...@@ -123,7 +123,7 @@ if [ $line_number ] ; then
fi fi
# add some ebuilds, specific to NayuOS # add some ebuilds, specific to NayuOS
for category in $( ls {{ ebuilds_dir }} ); do for category in $( find {{ ebuilds_dir }} -maxdepth 1 -mindepth 1 -type d); do
echo ${category} echo ${category}
cp -R "{{ ebuilds_dir }}/${category}/"* "${CHROMIUM_OVERLAY}/${category}/" cp -R "{{ ebuilds_dir }}/${category}/"* "${CHROMIUM_OVERLAY}/${category}/"
done done
......
...@@ -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 = 7cbc3e35d5228680611aaa61ae1b5cde md5sum = 3a6c43411d24d19a4c6f07fffe96ac9a
context = context =
key software_dir :_profile_base_location_ key software_dir :_profile_base_location_
key instance_dir buildout:directory key instance_dir buildout:directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment