This repository was archived by the owner on May 11, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,7 +199,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
199199### Known Problem
200200- Missing instructions of how to build the boot.wim, boot.sdi and BCD from Microsoft ADK
201201
202+ ## [ 3.0.1] - 2022-11-30
203+ ### Added
204+ - Added additional kernel modules to the ESP uOS
205+
206+ ### Changed
207+ - Fixed WEBROOT creation with Gitea is disabled
208+ - Fixed USB image size calculation
209+ - Fixed ESP build when dynamic profile is active
210+ - Updated the version of docker-compose inside core container
202211
212+ ### Known Problem
213+ - Missing instructions of how to build the boot.wim, boot.sdi and BCD from Microsoft ADK
203214
204215
205216[ 1.5.1 ] : https://github.com/intel/Edge-Software-Provisioner/compare/v1.5...v1.5.1
@@ -217,3 +228,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
217228[ 2.5.3 ] : https://github.com/intel/Edge-Software-Provisioner/compare/v2.5.2...v2.5.3
218229[ 2.5.4 ] : https://github.com/intel/Edge-Software-Provisioner/compare/v2.5.3...v2.5.4
219230[ 3.0.0 ] : https://github.com/intel/Edge-Software-Provisioner/compare/v2.5.4...v3.0
231+ [ 3.0.1 ] : https://github.com/intel/Edge-Software-Provisioner/compare/v3.0...v3.0.1
Original file line number Diff line number Diff line change @@ -497,6 +497,7 @@ if [[ "${DYNAMIC_PROFILE}" == "false" ]]; then
497497 profilesActions genProfilePxeMenu
498498 genPxeMenuTail
499499
500+ printBanner " Generating ${C_GREEN} IPXE Menu..."
500501 logMsg " Generating IPXE Menu..."
501502 genIpxeMenuHead
502503 profilesActions genProfileIpxeMenu
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ LABEL maintainer "Bryan J Rodriguez <bryan.j.rodriguez@intel.com>"
77RUN apk --no-cache add \
88 bash \
99 dumb-init \
10+ docker-compose \
1011 inotify-tools \
1112 git \
1213 nmap \
1314 nmap-scripts \
1415 rsync \
1516 syslinux \
16- docker-compose \
1717 wget && \
1818 apk --no-cache -U upgrade && \
1919 update-ca-certificates
Original file line number Diff line number Diff line change @@ -1396,7 +1396,7 @@ genProfileUsbBoot() {
13961396 export CALC_IMG_SIZE=$(( ((${KERNEL_SIZE} + ${INITRD_SiZE} + 52428800 )/ 4096 ) + ( (${KERNEL_SIZE} + ${INITRD_SiZE} + 52428800 ) % 4096 > 0 ) ))
13971397
13981398 if [ " ${USB_BIOS} " == " efi" ]; then
1399- docker run -it --rm --privileged ${DOCKER_RUN_ARGS} -v /dev:/dev:shared -v $( pwd) /data:/data -v $( pwd) /${usb_path} /${name} :/usb ${UOS_BUILDER} -c " IMG_SIZE=\ $ {CALC_IMG_SIZE} && \
1399+ docker run -it --rm --privileged ${DOCKER_RUN_ARGS} -v /dev:/dev:shared -v $( pwd) /data:/data -v $( pwd) /${usb_path} /${name} :/usb ${UOS_BUILDER} -c " IMG_SIZE=${CALC_IMG_SIZE} && \
14001400 truncate --io-blocks --size \$ {IMG_SIZE} /usb/temp.img && \
14011401 TEMP_IMG_DEV=\$ (losetup --find --show /usb/temp.img) && \
14021402 dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=\$ {TEMP_IMG_DEV} > /dev/null 2>&1 && \
@@ -1417,7 +1417,7 @@ genProfileUsbBoot() {
14171417 mv /usb/temp.img /usb/${IMG_NAME} .img"
14181418 umount /dev/console
14191419 else
1420- docker run -it --rm --privileged ${DOCKER_RUN_ARGS} -v /dev:/dev:shared -v $( pwd) /data:/data -v $( pwd) /${usb_path} /${name} :/usb ${UOS_BUILDER} -c " IMG_SIZE=\ $ {CALC_IMG_SIZE} && \
1420+ docker run -it --rm --privileged ${DOCKER_RUN_ARGS} -v /dev:/dev:shared -v $( pwd) /data:/data -v $( pwd) /${usb_path} /${name} :/usb ${UOS_BUILDER} -c " IMG_SIZE=${CALC_IMG_SIZE} && \
14211421 truncate --io-blocks --size \$ {IMG_SIZE} /usb/temp.img && \
14221422 TEMP_IMG_DEV=\$ (losetup --find --show /usb/temp.img) && \
14231423 parted --script \$ {TEMP_IMG_DEV} mklabel msdos mkpart primary fat32 1MiB 100% set 1 boot on && \
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ genPxeMenuHead() {
1616}
1717
1818genIpxeMenuHead () {
19+ makeDirectory " ${WEB_ROOT} "
1920 cp " ./template/ipxe/menu.ipxe.head" " ${WEB_ROOT} /tmp_menu.ipxe"
2021}
2122
Original file line number Diff line number Diff line change @@ -210,13 +210,16 @@ renderSystemNetworkTemplates() {
210210 local tmpDnsMasqConf=" template/dnsmasq/dnsmasq.conf"
211211 if [[ ${DYNAMIC_PROFILE} == " false" ]]; then
212212 local tmpPxeMenuFile=$( getTmpPxeMenuLocation)
213+ local tmpIpxeMenuFile=$( getTmpIpxeMenuLocation)
213214 else
214215 local tmpPxeMenuFile=" template/pxelinux.cfg/default.dynamic"
216+ local tmpIpxeMenuFile=" template/ipxe/menu.ipxe.head"
215217 fi
216218
217219 # Copy template files
218220 copySampleFile ${tmpDnsMasqConf} ${tmpDnsMasqConf} .modified
219221 copySampleFile ${tmpPxeMenuFile} ${tmpPxeMenuFile} .modified
222+ copySampleFile ${tmpIpxeMenuFile} ${tmpIpxeMenuFile} .modified
220223
221224 # Replace the template variables with their appropriate values
222225 local dhcpRangeMinimumPlaceholder=(" @@DHCP_MIN@@" " @@ESP_DHCP_MIN@@" " @@RNI_DHCP_MIN@@" " @@EDGEBUILDER_DHCP_MIN@@" )
@@ -235,7 +238,7 @@ renderSystemNetworkTemplates() {
235238 # Note that profile-scoped variables are not accessible here.
236239 # In order to gain access to that scope use the renderTemplate
237240 # functionality
238- local stgFiles=(" ${tmpDnsMasqConf} .modified" " ${tmpPxeMenuFile} .modified" " ${WEB_ROOT} /tmp_menu.ipxe " )
241+ local stgFiles=(" ${tmpDnsMasqConf} .modified" " ${tmpPxeMenuFile} .modified" " ${tmpIpxeMenuFile} .modified " )
239242 for stgFile in ${stgFiles[@]} ; do
240243 for i in {0..2}
241244 do
You can’t perform that action at this time.
0 commit comments