error at /proc/sys/fs/binfmt_misc/register for 8.5 Building the Image with MIC
Heyyo, so I've gotten as far in the "SailfishOS-HardwareAdaptationDevelopmentKit-2.0.1.pdf" to "8.5 Building the Image with MIC" but I can't get past this error
IOError: [Errno 2] No such file or directory: '/proc/sys/fs/binfmt_misc/register'
here's what my terminal log looks like
themard@ubuntu:~$ sfossdk
Mounting system directories...
Mounting /srv/mer/targets as /srv/mer/targets
Mounting / as /parentroot
Mounting home directory: /home/themard
Entering chroot as themard
Last login: Tue Nov 7 04:45:53 UTC 2017 on pts/1
bash: brew: command not found
bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
Env setup for x2
bash: /etc/bash_completion.d/createrepo.bash: line 90: syntax error in conditional expression: unexpected token `('
bash: /etc/bash_completion.d/createrepo.bash: line 91: syntax error near `@(='
bash: /etc/bash_completion.d/createrepo.bash: line 91: ` ${COMP_WORDS[i-1]} != @(=|--mdtype) ]]; then'
PlatformSDK themard@ubuntu:~$ sudo zypper in android-tools createrepo zip
Loading repository data...
Reading installed packages...
'zip' is already installed.
No update candidate for 'zip-3.0-1.1.19.i486'. The highest available version is already installed.
'android-tools' is already installed.
No update candidate for 'android-tools-4.2.2_git20130218-15.24.1.i486'. The highest available version is already installed.
'createrepo' is already installed.
No update candidate for 'createrepo-0.9.9-1.1.1.i486'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
PlatformSDK themard@ubuntu:~$ cd $ANDROID_ROOT
PlatformSDK themard@ubuntu:~/hadk$ rpm/dhd/helpers/build_packages.sh --configs
* Building rpm/droid-config-x2.spec
* Building successful, adding packages to repo
Repository 'adaptation-community-common' is up to date.
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-x2-hal' metadata ............................[done]
Building repository 'local-x2-hal' cache .................................[done]
Repository 'mer-tools' is up to date.
All repositories have been refreshed.
* Building of droid-configs finished successfully
PlatformSDK themard@ubuntu:~/hadk$ RELEASE=2.1.2.3
PlatformSDK themard@ubuntu:~/hadk$ EXTRA_NAME=-themard
PlatformSDK themard@ubuntu:~/hadk$ hybris/droid-configs/droid-configs-device/helpers/process_patterns.sh
checking for /home/themard/hadk/droid-local-repo/x2/droid-configs/*-patterns*.rpm...
./usr/share/package-groups/jolla-configuration-x2.xml
./usr/share/package-groups/jolla-hw-adaptation-x2.xml
./usr/share/package-groups/sailfish-porter-tools.xml
9 blocks
Wrote: /home/themard/hadk/droid-local-repo/x2/repodata/patterns.xml.gz
type = patterns
location = repodata/f2af32d775866aa41c06ce65456aefa3a21e41493ceb2bcc58397bf474f78697-patterns.xml.gz
checksum = f2af32d775866aa41c06ce65456aefa3a21e41493ceb2bcc58397bf474f78697
timestamp = 1510030418.21
open-checksum = 163ed9574977ab9517aeb1fb7314545cf698cd83c9b7cee661b5b5f47cfa1bf6
Wrote: /home/themard/hadk/droid-local-repo/x2/repodata/repomd.xml
Exception AttributeError: "'NoneType' object has no attribute 'px_proxy_factory_free'" in <bound method ProxyFactory.__del__ of <libproxy.ProxyFactory object at 0xf534a66c>> ignored
PlatformSDK themard@ubuntu:~/hadk$ sudo mic create fs --arch=$PORT_ARCH \
> --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME \
> --record-pkgs=name,url \
> --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME \
> --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 \
> $ANDROID_ROOT/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks
mic 0.14 (Mer 0.2011 Mer)
Info: Substitute macro variable @RELEASE@ with 2.1.2.3
Info: Substitute macro variable @EXTRA_NAME@ with -themard
Info: Substitute macro variable @ARCH@ with armv7hl
Info: Retrieving repo metadata:
Info: Retrieving repomd.xml.key ... DONE
Traceback (most recent call last):
File "/usr/bin/mic", line 217, in <module>
sys.exit(mic.main())
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 257, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1084, in _dispatch_cmd
return handler(argv)
File "/usr/bin/mic", line 86, in do_create
cr.main(argv[1:])
File "/usr/lib/python2.7/site-packages/mic/creator.py", line 266, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1100, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/mic/plugins/imager/fs_plugin.py", line 61, in do_create
creator.mount(None, creatoropts["cachedir"])
File "/usr/lib/python2.7/site-packages/mic/imager/baseimager.py", line 720, in mount
self.target_arch)
File "/usr/lib/python2.7/site-packages/mic/utils/misc.py", line 887, in setup_qemu_emulator
fd = open(binfmt_register, "w")
IOError: [Errno 2] No such file or directory: '/proc/sys/fs/binfmt_misc/register'
any ideas as to what I'm missing or doing wrong? :( Any help is appreciated
Here's my repositories that I'm working with in case I missed something https://github.com/ThEMarD?tab=repositories