Skip to contentSkip to conversation

what's with the "\" in SSTATE_MIRRORS example in overview manual?

DISCUSSION Robert P. J. Day 2 participants 2 messages Sep 27, 2021 – Sep 28, 2021

lore
Share & tools
lore
#0 lore raw

from here:

http://docs.yoctoproject.org/overview-manual/concepts.html#shared-state-cache

toward the end of that section, we see the example:

  SSTATE_MIRRORS ?= "\
    file://.\* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
    file://.\* file:///some/local/dir/sstate/PATH"
            ^

note those early backslashes in each line, which appear to totally break proper operation. it was only after i deleted that backslash that things worked.

is this a recent change? did things used to work differently? those
backslashes definitely seem incorrect. thoughts?

rday

#1 lore raw

Hi Robert,

Quoted 12 lines · Robert P. J. Day

from here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.yoctoproject.org_overview-2Dmanual_concepts.html-23shared-2Dstate-2Dcache&d=DwIBAg&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=iBMRw0D4E14V7Mp4p7EOj1bgXlIq0lFTp-9f5nnoGbk&s=g_KwAtXJ38EyzFMAmzfVCEUGZt8WjP4C8aTbr41h8aw&e=

toward the end of that section, we see the example:

  SSTATE_MIRRORS ?= "\
    file://.\* https://urldefense.proofpoint.com/v2/url?u=http-3A__someserver.tld_share_sstate_PATH-3Bdownloadfilename-3DPATH&d=DwIBAg&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=iBMRw0D4E14V7Mp4p7EOj1bgXlIq0lFTp-9f5nnoGbk&s=ijxTmbCdCGt8GAHOyV_nDYONABR_e1JqCIC-b87jHNY&e=  \n \
    file://.\* file:///some/local/dir/sstate/PATH"
            ^
Quoted 7 lines

note those early backslashes in each line, which appear to totally break proper operation. it was only after i deleted that backslash that things worked.

is this a recent change? did things used to work differently? those
backslashes definitely seem incorrect. thoughts?

No this is an error made by the conversion script used to migrate from XML to rST, please send a patch :)

Cheers,
Quentin