| 4b9150a7 | 15-Dec-2025 |
Jae Hyun Yoo <jae.yoo@oss.qualcomm.com> |
first-boot-set-hostname: Restart mDNS services when the hostname changes
mDNS services do not immediately broadcast the updated name when the hostname is changed. As a result, the system remains dis
first-boot-set-hostname: Restart mDNS services when the hostname changes
mDNS services do not immediately broadcast the updated name when the hostname is changed. As a result, the system remains discoverable only under the previous hostname. To address this issue, the relevant mDNS services are restarted when a new hostname is applied, ensuring that the new hostname is advertised correctly.
Change-Id: I39f2392609e2ef883546df13089b6ea980199b5e Signed-off-by: Jae Hyun Yoo <jae.yoo@oss.qualcomm.com>
show more ...
|
| 3abf805b | 08-Dec-2025 |
Jae Hyun Yoo <jae.yoo@oss.qualcomm.com> |
first-boot-set-hostname: fix to update 127.0.1.1 in the /etc/hosts
When updating the hostname, if the /etc/hosts file exists and has an entry for 127.0.1.1, make sure to update that entry as well.
first-boot-set-hostname: fix to update 127.0.1.1 in the /etc/hosts
When updating the hostname, if the /etc/hosts file exists and has an entry for 127.0.1.1, make sure to update that entry as well.
Tested: Without this fix, the issue consistently reproduces as follows.
root@qcom-bmc-ast2600-c00000ea3cf0:~# cat /etc/hostname qcom-bmc-ast2600-c00000ea3cf0
root@qcom-bmc-ast2600-c00000ea3cf0:~# cat /etc/hosts 127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 qcom-bmc-ast2600
With this fix applied, the behavior changes as follows.
root@qcom-bmc-ast2600-c00000ea3cf0:~# cat /etc/hostname qcom-bmc-ast2600-c00000ea3cf0
root@qcom-bmc-ast2600-c00000ea3cf0:~# cat /etc/hosts 127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 qcom-bmc-ast2600-c00000ea3cf0
Change-Id: I94b5c4ac879cc8c482f03f7251774dfb30d09184 Signed-off-by: Jae Hyun Yoo <jae.yoo@oss.qualcomm.com>
show more ...
|
| b7af9ac5 | 01-Dec-2025 |
Jae Hyun Yoo <jae.yoo@oss.qualcomm.com> |
first-boot-set-hostname: add ethaddr U-Boot env handling
Modify the script to use the U-Boot environment's ethaddr to generate a unique hostname if neither the BMC serial number nor the Ethernet int
first-boot-set-hostname: add ethaddr U-Boot env handling
Modify the script to use the U-Boot environment's ethaddr to generate a unique hostname if neither the BMC serial number nor the Ethernet interface inventories are available,
Change-Id: Ie55de1c553ee53bc9315ce319ac5ac3d46fe94df Signed-off-by: Jae Hyun Yoo <jae.yoo@oss.qualcomm.com>
show more ...
|
| adb587b3 | 09-Jul-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: use non-deprecated systemd packageconfig
Systemd's packageconfig file has both `systemdsystemunitdir` and `systemd_system_unit_dir` defined. The non-underscore one appears to be a deprecated
meson: use non-deprecated systemd packageconfig
Systemd's packageconfig file has both `systemdsystemunitdir` and `systemd_system_unit_dir` defined. The non-underscore one appears to be a deprecated alias[1]. Move to the non-deprecated / underscore-separated variant.
[1]: https://github.com/systemd/systemd/commit/4908de44b0a0409f84a7cdc5641b114d6ce8ba03
Change-Id: Ice33455fe91a14d4235cc4d6c5ea2f4220751ecb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
| 6b7fa819 | 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I147ee758f6fca48cdd18889f7f018c76dcca39b3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
| 8419820f | 12-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig` keyword argument. Ensure meson 0.58 is required and update the usage of all `get_pkgconfig_variable` and `get_variable` to be the modern variant.
Change-Id: I0aa20f956a896d11ba062f3df4a947f9e68dfb53 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
| 37c76da7 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
beautysh: re-format
beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: Ib1e9ab2fa
beautysh: re-format
beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: Ib1e9ab2fa4867e4f89401c97e3e4694fa3ea6765 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
| 272b453c | 04-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
shellcheck: fix issues and format with beautysh
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib06266cbe243a3e70a4c468c0d4d2c4d2b1f1914 |
| 403e2635 | 07-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
add first boot set hostname
Copy this script and systemd unit file from meta-openpower.
Change-Id: I98aed26efb2be00f1fe3d703f83fd201f18059db Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
| 5a3ac185 | 07-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
add first boot set mac script
phosphor-misc will use the meson build system - establish the initial structure. Copy the first boot set mac script and systemd unit from meta-openpower.
Change-Id: I
add first boot set mac script
phosphor-misc will use the meson build system - establish the initial structure. Copy the first boot set mac script and systemd unit from meta-openpower.
Change-Id: I1f7ebbb6b5230aa97b28e9a46ac721925b95a75a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|