Skip to content

Commit 7e6292a

Browse files
committed
Ensure consistency in the naming Enapter Industrial Linux distro
1 parent 7ebd145 commit 7e6292a

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

bin/prepare-environments.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ else
1313
export DISTRO_VERSION="$CI_COMMIT_TAG"
1414
fi
1515

16-
export IMG_ARTIFACT_NAME="enapter-linux-${DISTRO_VERSION}.zip"
17-
export IMG_FILE_ARTIFACT_NAME="enapter-linux-${DISTRO_VERSION}.img"
18-
export UPDATE_ARTIFACT_NAME="enapter-linux-update-${DISTRO_VERSION}.zip"
19-
export VMDK_ARTIFACT_NAME="enapter-linux-${DISTRO_VERSION}.vmdk"
16+
export IMG_ARTIFACT_NAME="enapter-industrial-linux-${DISTRO_VERSION}.zip"
17+
export IMG_FILE_ARTIFACT_NAME="enapter-industrial-linux-${DISTRO_VERSION}.img"
18+
export UPDATE_ARTIFACT_NAME="enapter-industrial-linux-update-${DISTRO_VERSION}.zip"
19+
export VMDK_ARTIFACT_NAME="enapter-industrial-linux-${DISTRO_VERSION}.vmdk"
2020

2121
export SSTATE_DIR=/home/build/sstate-cache
2222
export DL_DIR=/home/build/downloads

docker/bin/build-intel-x86-64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cd "/home/build/enapter-linux-build/repositories/poky"
1212
source oe-init-build-env ../../machine/
1313
cd ..
1414

15-
bitbake enapter-linux-image
15+
bitbake enapter-industrial-linux-image
1616

1717
/home/build/bin/save-sstate.sh
1818
/home/build/bin/prepare-artifacts.sh

docker/bin/debug-intel-x86-64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ cd ..
1212
# pip3 install -r /home/build/enapter-linux-build/repositories/poky/bitbake/toaster-requirements.txt
1313
# source toaster start webport=0.0.0.0:8080
1414

15-
echo "/home/build/bin/sync-sources.sh && bitbake -k enapter-linux-image"
15+
echo "/home/build/bin/sync-sources.sh && bitbake -k enapter-industrial-linux-image"

docker/bin/prepare-artifacts.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
set -ex
66

7-
wic_file="enapter-linux-image-intel-corei7-64.rootfs.wic"
8-
vmdk_file="enapter-linux-image-intel-corei7-64.rootfs.wic.vmdk"
9-
update_file="enapter-linux-update.zip"
7+
wic_file="enapter-industrial-linux-image-intel-corei7-64.rootfs.wic"
8+
vmdk_file="enapter-industrial-linux-image-intel-corei7-64.rootfs.wic.vmdk"
9+
update_file="enapter-industrial-linux-update.zip"
1010

1111
update_dir=/home/build/update
1212
images_dir=/home/build/images
@@ -18,7 +18,7 @@ img_path="$deploy_dir/$IMG_FILE_ARTIFACT_NAME"
1818
vmdk_path="$deploy_dir/$vmdk_file"
1919

2020
rm -rf "$update_dir"
21-
rm -f "enapter-linux-*"
21+
rm -f "enapter-industrial-linux-*"
2222

2323
mkdir -p "$update_dir"
2424
enapter_files="rootfs.img bzImage initrd version.txt"

machine/conf/distro/enapter-linux.conf renamed to machine/conf/distro/enapter-industrial-linux.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
DISTRO = "enapter-linux"
2-
DISTRO_NAME = "Enapter Linux"
1+
DISTRO = "enapter-industrial-linux"
2+
DISTRO_NAME = "Enapter Industrial Linux"
33
DISTRO_CODENAME = "genapter"
44
PACKAGE_CLASSES = "package_rpm"
55
USER_CLASSES = "buildstats"

machine/conf/local.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MACHINE ?= "intel-corei7-64"
2-
DISTRO ?= "enapter-linux"
2+
DISTRO ?= "enapter-industrial-linux"
33

44
IMAGE_FSTYPES = "wic wic.vmdk"
55

meta-enapter-linux/recipes-core/images/enapter-linux-image.bb renamed to meta-enapter-linux/recipes-core/images/enapter-industrial-linux-image.bb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ SUMMARY = "Enapter Linux Image."
22

33
IMAGE_INSTALL = "shim-efi grub-efi"
44

5-
WKS_FILE = "enapter-linux-image.wks"
5+
WKS_FILE = "enapter-industrial-linux-image.wks"
66

77
IMAGE_OVERHEAD_FACTOR = "1.0"
88
IMAGE_ROOTFS_EXTRA_SPACE = "300000"
99

1010
inherit core-image
1111

12-
do_rootfs[depends] += "enapter-linux-rootfs:do_image_complete enapter-linux-initramfs:do_image_complete virtual/kernel:do_deploy sbsigntool-native:do_populate_sysroot"
12+
do_rootfs[depends] += "enapter-industrial-linux-rootfs:do_image_complete enapter-industrial-linux-initramfs:do_image_complete virtual/kernel:do_deploy sbsigntool-native:do_populate_sysroot"
1313

1414
copy_files_to_boot () {
1515
mkdir -p ${IMAGE_ROOTFS}/boot/EFI/enapter
@@ -19,8 +19,8 @@ copy_files_to_boot () {
1919

2020
echo "${DISTRO_VERSION}" > ${IMAGE_ROOTFS}/boot/EFI/enapter/version.txt
2121

22-
cp ${DEPLOY_DIR_IMAGE}/enapter-linux-rootfs-${MACHINE}.rootfs.squashfs-zst ${IMAGE_ROOTFS}/boot/EFI/enapter/rootfs.img
23-
cp ${DEPLOY_DIR_IMAGE}/enapter-linux-initramfs-${MACHINE}.cpio.gz ${IMAGE_ROOTFS}/boot/EFI/enapter/initrd
22+
cp ${DEPLOY_DIR_IMAGE}/enapter-industrial-linux-rootfs-${MACHINE}.rootfs.squashfs-zst ${IMAGE_ROOTFS}/boot/EFI/enapter/rootfs.img
23+
cp ${DEPLOY_DIR_IMAGE}/enapter-industrial-linux-initramfs-${MACHINE}.cpio.gz ${IMAGE_ROOTFS}/boot/EFI/enapter/initrd
2424
cp ${DEPLOY_DIR_IMAGE}/bzImage ${KERNEL_FILE}
2525
mv ${IMAGE_ROOTFS}/boot/EFI/BOOT/grub-efi-bootx64.efi ${GRUB_EFI_FILE}
2626

meta-enapter-linux/recipes-core/images/enapter-linux-initramfs.bb renamed to meta-enapter-linux/recipes-core/images/enapter-industrial-linux-initramfs.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PACKAGE_INSTALL = "\
1515
"
1616

1717
IMAGE_FEATURES = ""
18-
export IMAGE_BASENAME = "enapter-linux-initramfs"
18+
export IMAGE_BASENAME = "enapter-industrial-linux-initramfs"
1919
IMAGE_NAME_SUFFIX ?= ""
2020
IMAGE_LINGUAS = ""
2121
IMAGE_INSTALL = ""

meta-enapter-linux/recipes-core/images/enapter-linux-rootfs.bb renamed to meta-enapter-linux/recipes-core/images/enapter-industrial-linux-rootfs.bb

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)