{"id":652,"date":"2025-11-17T16:32:18","date_gmt":"2025-11-17T07:32:18","guid":{"rendered":"https:\/\/ahnbk.dev\/?p=652"},"modified":"2025-11-17T16:32:44","modified_gmt":"2025-11-17T07:32:44","slug":"armbian-build%ec%97%90%ec%84%9c-customizing","status":"publish","type":"post","link":"https:\/\/ahnbk.dev\/?p=652","title":{"rendered":"armbian build\uc5d0\uc11c customizing \ubc29\ubc95 \uc815\ub9ac"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\uae30\ubcf8 Repository\uc5d0 \uc788\ub294 \ud328\ud0a4\uc9c0 \uc911 \ud544\uc694\ud55c \uac83\ub4e4 \uba3c\uc800 \uc124\uce58\ud560 \ub54c\ub294 PACKAGE_LIST_BOARD \uc635\uc158 \uc0ac\uc6a9.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/compile.sh BOARD=orangepi5-plus BRANCH=current RELEASE=noble BUILD_DESKTOP=no BUILD_MINIMAL=no VENDOR=armbian-kft REVISION=25.8.2 CPUTHREADS=12 PACKAGE_LIST_BOARD=\"net-tools wireless-tools vim\" build <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc784\uc758\uc758 repository \ucd94\uac00, \ud328\ud0a4\uc9c0 \uc124\uce58, \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589 \uc2dc, <code>userpatches\/customize-image.sh<\/code> \ud30c\uc77c\uc744 \uc218\uc815<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">ain() {\n        case $RELEASE in\n                stretch)\n                        # your code here\n                        # InstallOpenMediaVault # uncomment to get an OMV 4 image\n                        ;;\n                buster)\n                        # your code here\n                        ;;\n                bullseye)\n                        # your code here\n                        ;;\n                bionic)\n                        # your code here\n                        ;;\n                focal)\n                        # your code here\n                        ;;\n                noble)\n                        export ROS_APT_SOURCE_VERSION=$(curl -s https:\/\/api.github.com\/repos\/ros-infrastructure\/ros-apt-source\/releases\/latest | grep -F \"tag_name\" | awk -F\\\" '{print $4}')\n                        curl -L -o \/tmp\/ros2-apt-source.deb \"https:\/\/github.com\/ros-infrastructure\/ros-apt-source\/releases\/download\/${ROS_APT_SOURCE_VERSION}\/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. \/etc\/os-release &amp;&amp; echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}})_all.deb\"\n                        dpkg -i \/tmp\/ros2-apt-source.deb\n                        apt update\n                        apt install -y ros-dev-tools\n                        apt install -y ros-jazzy-ros-base\n                        apt install -y ros-jazzy-rmw-cyclonedds-cpp\n                        ;;\n        esac\n} # Main\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc0ac\uc6a9\uc790 \uacc4\uc815\uc744 \ub9cc\ub4e4\uace0, \ucc98\uc74c \ub85c\uadf8\uc778 \uc2dc \uc791\uc5c5 \uc218\ud589\ud558\ub294 \uacbd\uc6b0, packages\/bsp\/common\/usr\/lib\/armbian\/armbian-firstlogin \ud30c\uc77c \uc218\uc815<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">add_user() \ud568\uc218 \ub0b4\uc5d0\uc11c \ub2e4\uc74c\uc758 \uad6c\ubb38 \uc544\ub798\uc5d0 \uc801\uc808\ud55c \uacf3\uc5d0 \ucd94\uac00.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">add_user() {\n...\n         while [ -f \"\/root\/.not_logged_in_yet\" ]; do\n...\n              if [[ \"$first_input\" == \"$second_input\" ]]; then\n...\n                        echo \"source \/opt\/ros\/jazzy\/setup.bash\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"export ROS_DOMAIN_ID=1\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"export ROS_AUTOMATIC_DISCOVERY_RANGE=SYSTEM_DEFAULT\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"source \/usr\/share\/colcon_cd\/function\/colcon_cd.sh\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"export _colcon_cd_root=\/opt\/ros\/jazzy\/\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"source \/usr\/share\/colcon_argcomplete\/hook\/colcon-argcomplete.bash\" >> \/home\/\"$RealUserName\"\/.bashrc\n                        echo \"export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp\" >> \/home\/\"$RealUserName\"\/.bashrc\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uae30\ubcf8 Repository\uc5d0 \uc788\ub294 \ud328\ud0a4\uc9c0 \uc911 \ud544\uc694\ud55c \uac83\ub4e4 \uba3c\uc800 \uc124\uce58\ud560 \ub54c\ub294 PACKAGE_LIST_BOARD \uc635\uc158 \uc0ac\uc6a9. \uc784\uc758\uc758 repository \ucd94\uac00, \ud328\ud0a4\uc9c0 \uc124\uce58, \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589 \uc2dc, userpatches\/customize-image.sh \ud30c\uc77c\uc744 \uc218\uc815 \uc0ac\uc6a9\uc790 \uacc4\uc815\uc744 \ub9cc\ub4e4\uace0, \ucc98\uc74c \ub85c\uadf8\uc778 \uc2dc \uc791\uc5c5 \uc218\ud589\ud558\ub294 \uacbd\uc6b0, packages\/bsp\/common\/usr\/lib\/armbian\/armbian-firstlogin \ud30c\uc77c \uc218\uc815 add_user() \ud568\uc218 \ub0b4\uc5d0\uc11c \ub2e4\uc74c\uc758 \uad6c\ubb38 \uc544\ub798\uc5d0 \uc801\uc808\ud55c \uacf3\uc5d0 \ucd94\uac00.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[146,147,148],"class_list":["post-652","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-armbian","tag-build","tag-customize"],"_links":{"self":[{"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=652"}],"version-history":[{"count":2,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/posts\/652\/revisions"}],"predecessor-version":[{"id":654,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=\/wp\/v2\/posts\/652\/revisions\/654"}],"wp:attachment":[{"href":"https:\/\/ahnbk.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}