Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

change prebuild files attribute if exist, in case git clone code doesn't have 'x' permission of it #3053

Open
wants to merge 51 commits into
base: master
Choose a base branch
from

Conversation

wonleing
Copy link

@wonleing wonleing commented Mar 19, 2021

diff --git a/scripts/build-images b/scripts/build-images
index 171b4b6..0ff4fea 100755
--- a/scripts/build-images
+++ b/scripts/build-images
@@ -15,7 +15,8 @@ for i in $BASE/[0-9]*; do
     name="os-$(echo ${i} | cut -f2 -d-)"
     tag="${OS_REPO}/${name}:${VERSION}${SUFFIX}"
     echo "build-image: Building ${tag}"
-    if [ -x ${i}/prebuild.sh ]; then
+    if [ -e ${i}/prebuild.sh ];then
+        chmod a+x ${i}/prebuild.sh
         ${i}/prebuild.sh
     fi

olljanat and others added 30 commits February 18, 2021 20:07
- Use burmilla GitHub repos
- Release under burmilla Docker Hub
- GitHub action for create releases
- Updated boot image and login banner
- Use Debian as default console
- Updated system-cron to v0.5.0
- Updated services to latest versions
- Bump up kernel to 4.14.206
- Include burmilla/os-debianconsole:v1.9.0 to initrd
- Replaced default console with Debian console
- Included Project Burmilla to ros command info
- Fixed docker-machine compability
- Bump up kernel to 4.14.207
- Include /etc/lsb-release file to Debian console
- Updated ifconfig parsing command to match Debian console syntax
- Corrected Burmilla URLs
- Use fixed version of open-vm-tools
- Create /var/log/wtmp file on first boot so "last" command will works
- Use /etc/issue file as motd
- Support to create ISO file without firmware files
- Bump up kernel to 4.14.211
- Bump up default Docker version to 19.03.14
- Include v1.9.0 tag
- Fix sudo ros config syslinux command
- Reserve 64 MB memory for admin
- Set vm.max_map_count=262144 which is needed by ElasticSearch
- Set fs.inotify.max_user_watches=104857 which is needed by Cadvisor
- Use memory settings based on Nutanix guidance
- Use oom_score_adj value -250 for user docker
- Use oom_score_adj for console container
- Share kernel with k3OS (5.4.0-54.60-rancher1)
- Buildroot 2020.02.8
- Docker 20.10.2
- Bump up default Docker version to 20.10.3
- Use sysctl value fs.inotify.max_user_instances=1024 instead of 128
- Lock dapper to v0.5.4
- use constructors with named fields
- fix logf statements
It is downloading the bootloader, not the bootfiles.
- Docker 24.0.5
- Kernel 5.10.188
- System-docker 17.06.108
- System container images compresses with zstd instead of xz
- Added WSL2 support
- Include Hyper-V, ProxmoxVE and VMware tools to ISO
- Include apparmor tools to console
- Enable apparmor by default
- Remove experimental selinux support
- Include chroot command to initrd
* Load apparmor on boot also when booting from disk
* Rename system-dockerd to system-engine
* Do not cache service metadatas
* Do not cache Docker image to ISO file
* Disable system-docker bridge by default
* Remove deprecated --oom-score-adjust flag
* Update VMware tools to 12.2.5
* Update QEMU guest agent to 7.2
* Remove broken VirtualBox tools
* Add ipset to network and console
* Add fdisk to console
* Use Docker 24.0.7 by default
* SSH security hardenings
* Downgrade system-docker to 17.06.107 (last version before rename)
* Use Docker 24.0.9 by default. 25.0.3 available as alternative.
* Buildroot 2023.02.10
* Kernel 5.10.211
* Always generate dhcpd.conf (not only with Wi-Fi)
* Support user Docker "data_root" configuration
Root CA certificates update to initrd
@olljanat olljanat force-pushed the master branch 2 times, most recently from 7fc8b6a to 7ff9ff8 Compare June 7, 2024 16:50
* Optimize kernel parameters based on MinIO recommendations
* Use Docker 26.1.4 by default
@olljanat olljanat force-pushed the master branch 2 times, most recently from b20e1e4 to 14504e9 Compare October 19, 2024 10:10
* Include NFS client to console
* Support command "ros engine switch latest"
* Use long term branch v2.0.x for os-services
* Use docker build, builder, buildx and compose from docker:cli container
* Unify docker compose and docker-compose commands
* Automatically select latest docker version in first boot
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants